# Contributor: Sören Tempel # Maintainer: pkgname=libinput pkgver=1.6.2 pkgrel=0 pkgdesc="Library for handling input devices" url="http://www.freedesktop.org/wiki/Software/libinput/" arch="all" license="custom" depends="" makedepends="mtdev-dev eudev-dev libevdev-dev grep" subpackages="$pkgname-dev $pkgname-doc" source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-libwacom \ || return 1 make || return 1 } package() { make DESTDIR="$pkgdir" \ -C "$builddir" install || return 1 } sha512sums="f1e1436ec4259ebddf93a50fe4d39a52713efd246a39a072b44bf296a413bdadbb789d6a4f0107ed3eb37afe34a37a43c9e75dcf814462385011eff2d3f42db7 libinput-1.6.2.tar.xz"