mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
added extra/libevdev
This commit is contained in:
parent
0f1aa834a5
commit
aa3b2a7ede
1 changed files with 39 additions and 0 deletions
39
extra/libevdev/PKGBUILD
Normal file
39
extra/libevdev/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# $Id$
|
||||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - drop valgrind makedepend
|
||||
|
||||
pkgname=libevdev
|
||||
pkgver=1.3
|
||||
pkgrel=1.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' 'doxygen')
|
||||
#checkdepends=('kmod')
|
||||
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
|
||||
sha256sums=('265411ce79a592b3074e9d07fb97d462745d0c7ef178254a6f720245ed253446'
|
||||
'SKIP')
|
||||
|
||||
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"
|
||||
}
|
Loading…
Reference in a new issue