jobextra/libwacom/PKGBUILD-arch
2022-10-17 19:53:50 +03:00

37 lines
1.2 KiB
Text

# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libwacom
pkgver=2.5.0
pkgrel=1
pkgdesc="Library to identify Wacom tablets and their features"
arch=('x86_64')
url="https://github.com/linuxwacom/libwacom/wiki"
license=('MIT')
depends=('glib2' 'systemd' 'libgudev')
makedepends=('libxml2' 'meson')
checkdepends=('python-pytest' 'python-libevdev' 'python-pyudev')
optdepends=('python-libevdev: for libwacom-show-stylus')
options=('debug')
#validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF')
validpgpkeys=('594ABBA066118C7A02D10A80A8AF906D9307FBAD') # "Joshua Dickens <Joshua@Joshua-Dickens.com>"
source=(https://github.com/linuxwacom/libwacom/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
# https://github.com/linuxwacom/libwacom/releases
sha256sums=('40b69a4c38bbcbc80b1231bc115551107ebbc0ba14d2ad1c3e54355dcd876816'
'SKIP')
build() {
meson build $pkgname-$pkgver \
--prefix=/usr
# Print config
meson configure build
ninja -C build
}
check() {
ninja test -C build
}
package() {
DESTDIR="$pkgdir" ninja install -C build
install -D -m644 $pkgname-$pkgver/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}