summaryrefslogtreecommitdiff
path: root/extra/libinput/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-15 03:26:32 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-15 03:26:32 +0000
commitad45d1982b97faa9372d99e51daa687c7c09de7d (patch)
treeaf490221f2b733b8f0cf68f3898566d5049c3ab4 /extra/libinput/PKGBUILD
parent7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (diff)
Tue Apr 15 03:22:01 UTC 2014
Diffstat (limited to 'extra/libinput/PKGBUILD')
-rw-r--r--extra/libinput/PKGBUILD27
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"
+}