archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libwacom / trunk / PKGBUILD
blobe38e059b6b7aed8b2693655f908aff3a6663bb44
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=libwacom
4 pkgver=2.6.0
5 pkgrel=2
6 pkgdesc="Library to identify Wacom tablets and their features"
7 arch=('x86_64')
8 url="https://github.com/linuxwacom/libwacom/wiki"
9 license=('MIT')
10 depends=('glib2' 'systemd' 'libgudev')
11 makedepends=('libxml2' 'meson')
12 checkdepends=('python-pytest' 'python-libevdev' 'python-pyudev')
13 optdepends=('python-libevdev: for libwacom-show-stylus'
14             'python-pyudev: for libwacom-show-stylus')
15 source=(https://github.com/linuxwacom/libwacom/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
16 # https://github.com/linuxwacom/libwacom/releases
17 sha256sums=('2376cca99475235b75053a2cfbc7ed40fd8763d5a516941a664870ff1f3aa98f'
18             'SKIP')
19 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>"
20 #validpgpkeys=('594ABBA066118C7A02D10A80A8AF906D9307FBAD') # "Joshua Dickens <Joshua@Joshua-Dickens.com>"
22 build() {
23   meson build $pkgname-$pkgver \
24     --prefix=/usr
25   # Print config
26   meson configure build
27   ninja -C build
30 check() {
31   ninja test -C build
34 package() {
35   DESTDIR="$pkgdir" ninja install -C build
36   install -D -m644 $pkgname-$pkgver/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"