jobextra/libwacom/PKGBUILD

52 lines
1.7 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
2023-01-24 22:19:39 +01:00
pkgver=2.6.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')
2023-01-24 22:19:39 +01:00
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>
#validpgpkeys=('594ABBA066118C7A02D10A80A8AF906D9307FBAD') # "Joshua Dickens <Joshua@Joshua-Dickens.com>"
2022-03-20 13:34:07 +01:00
2022-03-31 03:01:44 +02:00
# https://github.com/linuxwacom/libwacom/releases
2022-06-21 02:14:52 +02:00
2023-01-24 22:19:39 +01:00
sha256sums=(2376cca99475235b75053a2cfbc7ed40fd8763d5a516941a664870ff1f3aa98f # libwacom-2.6.0.tar.xz
75989d35d82adfde9bbcd0fc1da0c34dd9a6532a89e8ff25a5f8df56f42d41cd) # libwacom-2.6.0.tar.xz.sig
2022-10-17 18:53:50 +02:00