#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput pkgname=libinput pkgver=1.5.3 pkgrel=2 pkgdesc="Input device management and event handling library" arch=(x86_64) url="http://www.freedesktop.org/wiki/Software/libinput/" license=(custom:X11) depends=('mtdev' 'systemd' 'libevdev' 'libwacom') install=libinput.install options=('!libtool') source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) sha256sums=('91206c523b4e7aeecf296d0b94276c61bea90b9260d198c8ee3a91eced10a6e3' 'SKIP') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) prepare() { cd $pkgname-$pkgver } build() { cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } check() { cd $pkgname-$pkgver # disabled for now: # https://github.com/libcheck/check/issues/18 # make check } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }