archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libevdev / repos / extra-x86_64 / PKGBUILD
blob1b56dce3d8dda5ef4affba1073883c620cb8b12f
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=libevdev
4 pkgver=1.13.1
5 pkgrel=1
6 pkgdesc="Wrapper library for evdev devices"
7 arch=(x86_64)
8 url="https://www.freedesktop.org/wiki/Software/libevdev/"
9 license=(custom:MIT)
10 depends=('glibc')
11 makedepends=('python' 'check' 'valgrind' 'doxygen' 'meson')
12 provides=('libevdev.so')
13 source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
14 sha512sums=('9b75bad4bc13948854c8dff7a7a46aca6c06d1410ccb000f881bf76055ccac040595c3b24fb1a574be875b5c262eb86820b9ec3383752641bc2047135e5a412f'
15             'SKIP')
16 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
18 build() {
19   arch-meson $pkgname-$pkgver build \
20     -D documentation=disabled
21   meson compile -C build
23 check() {
24   meson test -C build
27 package() {
28   DESTDIR="$pkgdir" meson install -C build
30   install -Dm644 $pkgname-$pkgver/COPYING \
31     "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"