jobextra/libwacom/PKGBUILD

49 lines
1.6 KiB
Bash
Raw Normal View History

2022-03-20 13:34:07 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
2022-06-21 02:14:52 +02:00
# Website : https://pozol.eu
2022-03-20 13:34:07 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libwacom
2022-08-07 13:14:55 +02:00
pkgver=2.4.0
2022-03-20 13:34:07 +01:00
pkgrel=01
2022-06-21 02:14:52 +02:00
pkgdesc="Library to identify Wacom tablets and their features w/o systemd"
2022-03-20 13:34:07 +01:00
arch=('x86_64')
url="https://github.com/linuxwacom/libwacom/wiki"
depends=('glib2' 'libgudev')
makedepends=('libxml2' 'meson')
checkdepends=('python-pytest' 'python-libevdev' 'python-pyudev')
optdepends=('python-libevdev: for libwacom-show-stylus')
2022-08-07 13:14:55 +02:00
#options=('debug') #### uncomment this to have the debug pkg produced
2022-03-20 13:34:07 +01:00
source=(https://github.com/linuxwacom/libwacom/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
build() {
meson build $pkgname-$pkgver \
--prefix=/usr \
-Dtests=disabled
2022-06-21 02:14:52 +02:00
# Print config
meson configure build
2022-03-20 13:34:07 +01:00
ninja -C build
}
2022-06-21 02:14:52 +02:00
check() {
ninja test -C build
}
2022-03-20 13:34:07 +01:00
package() {
DESTDIR="$pkgdir" ninja install -C build
install -D -m644 $pkgname-$pkgver/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
#---- license gpg-key sha256sums ----
license=('MIT')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') ## E23B7E70B467F0BF: "Peter Hutterer (Who-T) <office@who-t.net>
2022-03-31 03:01:44 +02:00
# https://github.com/linuxwacom/libwacom/releases
2022-06-21 02:14:52 +02:00
2022-08-07 13:14:55 +02:00
sha256sums=(d0d022761e3f9ab23e329583b7d2bd470b0450dfb077caeb22c5a0d66c2bd414 # libwacom-2.4.0.tar.xz
d8d5c90d62432f6e81b8d942e645a675a682f2f518eb79d8b4d6be321249512c) # libwacom-2.4.0.tar.xz.sig