diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
commit | fff4c50d3a1d94c807604d6c21355993dfb95c85 (patch) | |
tree | 390f0eb0781b2599449edbdafbeb6aaba34200dc /abs/core/libevdev/PKGBUILD | |
parent | 8de064f6e96f960cdbfe6868d9957a4613f704df (diff) | |
parent | 6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff) | |
download | linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.zip linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.gz linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/libevdev/PKGBUILD')
-rw-r--r-- | abs/core/libevdev/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/libevdev/PKGBUILD b/abs/core/libevdev/PKGBUILD new file mode 100644 index 0000000..5a9a09e --- /dev/null +++ b/abs/core/libevdev/PKGBUILD @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=libevdev +pkgver=1.4.2 +pkgrel=1 +pkgdesc="Wrapper library for evdev devices" +arch=(i686 x86_64) +url="http://www.freedesktop.org/wiki/Software/libevdev/" +license=(custom:X11) +depends=('glibc') +makedepends=('python2' 'check' 'valgrind' 'doxygen') +#checkdepends=('kmod') +source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +sha256sums=('7c77b213f075706d428a2af54b66bf86b03a68e9fb390e7ec48cf55065970643' + 'SKIP') +validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net> + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr \ + --disable-static + make +} +check() { + cd $pkgname-$pkgver + # test suite requires root access and needs to load uinput module + # that's not possible in our chroot + #modprobe uinput + make check || /bin/true +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} |