# Contributor: Sören Tempel # Maintainer: pkgname=xf86-input-libinput pkgver=0.16.0 pkgrel=0 pkgdesc="X.Org input driver based on libinput" url="http://xorg.freedesktop.org/" arch="all" license="custom" depends="" depends_dev="libinput-dev xorg-server-dev" makedepends="$depends_dev resourceproto scrnsaverproto" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="2c8cb520f88da7bafaceebc0b34ea1d4 xf86-input-libinput-0.16.0.tar.bz2" sha256sums="fdade531e91e79acf6dce8ac55fa4f65abe3f1358c5d3d777ae48dbc74b76f49 xf86-input-libinput-0.16.0.tar.bz2" sha512sums="6b1243a29d94e6b26e92da04ce9d308d0957c46fcacb16711f5037f351bb48e9e80070a7e8d4f7e934698d4b394df982c81df489a8bb8b8f6021e2c99c0b0c19 xf86-input-libinput-0.16.0.tar.bz2"