#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput pkgname=libinput pkgver=0.13.0 pkgrel=1 pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices." arch=(x86_64) url="http://www.freedesktop.org/wiki/Software/libinput/" license=(custom:X11) depends=('mtdev' 'systemd' 'libevdev') makedepends=('systemd') options=('!libtool') source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz) sha256sums=('6cecaf7fde525f1d81474cbd495ce526d5e34c845d3e9d6f3e2565b7048cc61a') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }