core/libinput/PKGBUILD

40 lines
1.0 KiB
Bash
Raw Normal View History

2015-03-20 01:44:52 +08:00
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
2015-01-15 02:18:52 +08:00
pkgname=libinput
pkgver=1.4.0
2015-01-15 02:18:52 +08:00
pkgrel=1
pkgdesc="Input device management and event handling library"
2015-03-20 01:44:52 +08:00
arch=(x86_64)
2015-01-15 02:18:52 +08:00
url="http://www.freedesktop.org/wiki/Software/libinput/"
license=(custom:X11)
2016-06-21 04:57:02 +08:00
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
2015-11-20 03:23:30 +08:00
install=libinput.install
2015-01-15 02:18:52 +08:00
options=('!libtool')
2015-12-22 18:25:34 +08:00
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
sha256sums=('76ef10874519d1a67b57e5c68ede06106b9fbf611a3ecf69c84886107c67b420'
2015-12-22 18:25:34 +08:00
'SKIP')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
prepare() {
cd $pkgname-$pkgver
}
2015-01-15 02:18:52 +08:00
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
2015-12-22 18:25:34 +08:00
check() {
cd $pkgname-$pkgver
# disabled for now:
# https://github.com/libcheck/check/issues/18
# make check
2015-12-22 18:25:34 +08:00
}
2015-01-15 02:18:52 +08:00
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}