#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=libwacom pkgver=2.4.0 pkgrel=01 pkgdesc="Library to identify Wacom tablets and their features w/o systemd" 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') #options=('debug') #### uncomment this to have the debug pkg produced source=(https://github.com/linuxwacom/libwacom/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig}) build() { meson build $pkgname-$pkgver \ --prefix=/usr \ -Dtests=disabled # 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 } #---- license gpg-key sha256sums ---- license=('MIT') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') ## E23B7E70B467F0BF: "Peter Hutterer (Who-T) # https://github.com/linuxwacom/libwacom/releases sha256sums=(d0d022761e3f9ab23e329583b7d2bd470b0450dfb077caeb22c5a0d66c2bd414 # libwacom-2.4.0.tar.xz d8d5c90d62432f6e81b8d942e645a675a682f2f518eb79d8b4d6be321249512c) # libwacom-2.4.0.tar.xz.sig