mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
35 lines
1 KiB
Bash
35 lines
1 KiB
Bash
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - drop valgrind makedepend
|
|
|
|
pkgname=libevdev
|
|
pkgver=1.12.0
|
|
pkgrel=1
|
|
pkgdesc="Wrapper library for evdev devices"
|
|
arch=(x86_64)
|
|
url="https://www.freedesktop.org/wiki/Software/libevdev/"
|
|
license=(custom:MIT)
|
|
depends=('glibc')
|
|
makedepends=('python' 'check' 'doxygen' 'meson')
|
|
provides=('libevdev.so')
|
|
source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
|
|
sha512sums=('6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c'
|
|
'SKIP')
|
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
|
|
|
build() {
|
|
arch-meson $pkgname-$pkgver build \
|
|
-D documentation=disabled
|
|
meson compile -C build
|
|
}
|
|
check() {
|
|
meson test -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
|
|
install -Dm644 $pkgname-$pkgver/COPYING \
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|