mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 18:57:48 +08:00
27 lines
848 B
Bash
27 lines
848 B
Bash
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
|
|
|
|
pkgname=libinput
|
|
pkgver=0.13.0
|
|
pkgrel=1
|
|
pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices."
|
|
arch=(x86_64)
|
|
url="http://www.freedesktop.org/wiki/Software/libinput/"
|
|
license=(custom:X11)
|
|
depends=('mtdev' 'systemd' 'libevdev')
|
|
makedepends=('systemd')
|
|
options=('!libtool')
|
|
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
|
|
sha256sums=('6cecaf7fde525f1d81474cbd495ce526d5e34c845d3e9d6f3e2565b7048cc61a')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|