PKGBUILDs/extra/libevdev/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2014-09-19 18:57:46 +00:00
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop valgrind makedepend
pkgname=libevdev
2019-06-10 12:35:55 +00:00
pkgver=1.7.0
2014-11-13 13:05:44 +00:00
pkgrel=1
2014-09-19 18:57:46 +00:00
pkgdesc="Wrapper library for evdev devices"
2018-01-31 06:35:47 +00:00
arch=(x86_64)
2019-06-10 12:35:55 +00:00
url="https://www.freedesktop.org/wiki/Software/libevdev/"
2014-09-19 18:57:46 +00:00
license=(custom:X11)
depends=('glibc')
makedepends=('python2' 'check' 'doxygen')
#checkdepends=('kmod')
2017-01-06 01:13:21 +00:00
source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
2019-06-10 12:35:55 +00:00
sha512sums=('bc43723fd1ca251a77ee549022609f73c15a33ae470fc843ac687542fb1938fba4d046d3ee1dc814bc38a4292a7f2ad9e71fcce45525b518a4f4a5bef099aa6f'
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"
}