summaryrefslogtreecommitdiff
path: root/extra/libevdev/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libevdev/PKGBUILD')
-rw-r--r--extra/libevdev/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/libevdev/PKGBUILD b/extra/libevdev/PKGBUILD
new file mode 100644
index 000000000..fe5d89618
--- /dev/null
+++ b/extra/libevdev/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: $
+# Maintainer: Jan de Groot
+
+pkgname=libevdev
+pkgver=0.4
+pkgrel=2
+pkgdesc="Wrapper library for evdev devices"
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/libevdev/"
+license=(custom:X11)
+depends=('glibc')
+makedepends=('python')
+options=('!libtool')
+source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
+sha256sums=('ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static --disable-gcov
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}