2014-09-19 18:57:46 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - drop valgrind makedepend
|
|
|
|
|
|
|
|
pkgname=libevdev
|
2015-03-07 13:32:01 +00:00
|
|
|
pkgver=1.4
|
2014-11-13 13:05:44 +00:00
|
|
|
pkgrel=1
|
2014-09-19 18:57:46 +00:00
|
|
|
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' 'doxygen')
|
|
|
|
#checkdepends=('kmod')
|
|
|
|
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
|
2015-03-07 13:32:01 +00:00
|
|
|
sha256sums=('3223378a5c2b4fea51a1601b0404700a6ddc1e2150eb9d5f62f001ffe21dfa06'
|
2014-09-19 18:57:46 +00:00
|
|
|
'SKIP')
|
2015-03-07 13:42:15 +00:00
|
|
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
2014-09-19 18:57:46 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|