mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - drop valgrind makedepend
|
|
|
|
pkgname=libevdev
|
|
pkgver=1.5.8
|
|
pkgrel=1
|
|
pkgdesc="Wrapper library for evdev devices"
|
|
arch=(x86_64)
|
|
url="http://www.freedesktop.org/wiki/Software/libevdev/"
|
|
license=(custom:X11)
|
|
depends=('glibc')
|
|
makedepends=('python2' 'check' 'doxygen')
|
|
#checkdepends=('kmod')
|
|
source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
|
|
sha512sums=('e9485d8c6b48ebf762b32b003bc6b761c548024ad3bc34a0793485b53383746881fcc9b206a078d571937291e519d9822e50c5d8816778d347094691b65ec3fa'
|
|
'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"
|
|
}
|