#!/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.7.0 pkgrel=01 pkgdesc="Library to identify Wacom tablets and their features w/o systemd" 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' 'python-pyudev: 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('MIT') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) #validpgpkeys=('594ABBA066118C7A02D10A80A8AF906D9307FBAD') # "Joshua Dickens " # https://github.com/linuxwacom/libwacom/releases sha256sums=(853929bd73fba2064b12142dbbee4b3bf84509197ff46a4da559eddf62d32cdf # libwacom-2.7.0.tar.xz 2d49877159cc735e68e2526c2f1c667a7423a94415dc13cb331ec5e8ccf7d358) # libwacom-2.7.0.tar.xz.sig ## e0ebf250b1185db6ddcacbddebc68dbdb7e9feee376cd9aa52af208f0e8d10b9 libwacom-2.7.0-01-x86_64.pkg.tar.lz