# Contributor: Sören Tempel # Maintainer: pkgname=libinput pkgver=1.4.1 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 grep" 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="2e7ba577ed74d8d1baeb07dbd4fb912a libinput-1.4.1.tar.xz" sha256sums="26e7b3ab499358caba499705680ea7e5851af2bd37dc32f2be64181610d6392a libinput-1.4.1.tar.xz" sha512sums="4f5c580db54c12e85f24356ffa1b10ee2322c769da707393900a089ea6b71ce5bbb1786e8a8ee544f2ee52d0974a410ed5756cb7b6a6570a66f84420315df2e2 libinput-1.4.1.tar.xz"