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
|
2020-10-29 13:51:35 +00:00
|
|
|
pkgver=1.10.0
|
2020-12-26 16:53:55 +00:00
|
|
|
pkgrel=2
|
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')
|
2019-12-23 14:10:17 +00:00
|
|
|
makedepends=('python' 'check' 'doxygen')
|
2020-12-26 16:53:55 +00:00
|
|
|
provides=('libevdev.so')
|
2017-01-06 01:13:21 +00:00
|
|
|
source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
|
2020-10-29 13:51:35 +00:00
|
|
|
sha512sums=('94ab4ee7e0854c41a491d8e4713baa95ae66dd337b41823011c0913aa1c72e8bbf8b808d5936c2ef456af794b6d3a5cd7cd0515fbd1d06dd1b7ba19275bd928f'
|
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
|
2020-10-29 13:51:35 +00:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
2014-09-19 18:57:46 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
2020-10-29 13:51:35 +00:00
|
|
|
make check
|
2014-09-19 18:57:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
}
|