diff options
Diffstat (limited to 'extra/libinput/PKGBUILD')
-rw-r--r-- | extra/libinput/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/libinput/PKGBUILD b/extra/libinput/PKGBUILD new file mode 100644 index 000000000..e0009dbc8 --- /dev/null +++ b/extra/libinput/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: $ +# Maintainer: Jan de Groot + +pkgname=libinput +pkgver=0.1.0 +pkgrel=1 +pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices." +arch=(i686 x86_64) +url="http://www.freedesktop.org/wiki/Software/libinput/" +license=(custom:X11) +depends=('mtdev' 'libsystemd' 'libevdev') +makedepends=('systemd') +options=('!libtool') +source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz) +sha256sums=('63214727be5115806868ebdf9470fe2ddf4b2e1229102e080237380d22b40a1d') + +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" +} |