# Contributor: Sören Tempel # Maintainer: pkgname=libinput pkgver=1.3.2 pkgrel=0 pkgdesc="Library for handling input devices" url="http://www.freedesktop.org/wiki/Software/libinput/" arch="all" license="custom" depends="" depends_dev="" makedepends="mtdev-dev eudev-dev libevdev-dev" install="" 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() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="d5c9d16825666078930d2df6103acde8 libinput-1.3.2.tar.xz" sha256sums="0701230781b59c0f1510ae86da15a7b15655e723ace366ad479ccb09fe92a183 libinput-1.3.2.tar.xz" sha512sums="d492d3abc7bfbeb71496a9d382cd2f8b42db7ba1ec55dee2e74da9d5034299ccc79a78901674b73a9764db9515b674d41059b0d59319b46deb310820014e5367 libinput-1.3.2.tar.xz"