archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libwacom / repos / extra-x86_64 / PKGBUILD
blob75f567f3bcf1dc08e6448446d7f829ca31bd529c
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=libwacom
4 pkgver=2.7.0
5 pkgrel=1
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=('853929bd73fba2064b12142dbbee4b3bf84509197ff46a4da559eddf62d32cdf'
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"