PKGBUILDs/extra/libevdev/PKGBUILD

36 lines
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
2021-11-10 00:53:12 +00:00
pkgver=1.12.0
2021-01-12 13:29:03 +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/"
2021-02-01 15:00:26 +00:00
license=(custom:MIT)
2014-09-19 18:57:46 +00:00
depends=('glibc')
2021-11-10 00:53:12 +00:00
makedepends=('python' 'check' 'doxygen' 'meson')
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})
2021-11-10 00:53:12 +00:00
sha512sums=('6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c'
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() {
2021-11-10 00:53:12 +00:00
arch-meson $pkgname-$pkgver build \
-D documentation=disabled
meson compile -C build
2014-09-19 18:57:46 +00:00
}
check() {
2021-11-10 00:53:12 +00:00
meson test -C build
2014-09-19 18:57:46 +00:00
}
package() {
2021-11-10 00:53:12 +00:00
DESTDIR="$pkgdir" meson install -C build
install -Dm644 $pkgname-$pkgver/COPYING \
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
2014-09-19 18:57:46 +00:00
}