# Maintainer: Mark Wagie pkgname=touche pkgver=2.0.5 pkgrel=2 pkgdesc="The desktop application to configure Touchégg " arch=('x86_64') url="https://github.com/JoseExposito/touche" license=('GPL3') depends=('gjs' 'libadwaita' 'touchegg') makedepends=('gobject-introspection' 'meson' 'npm') checkdepends=('appstream-glib') provides=('libtouche.so') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('9e332737ac8a1402f32f97b7715086c8e0ad055d83b7f65fb2d2c2ae8d298a1a') build() { cd "$pkgname-$pkgver" export npm_config_cache="$srcdir/npm_cache" npm install arch-meson . build meson compile -C build } check() { cd "$pkgname-$pkgver" meson test -C build --print-errorlogs } package() { cd "$pkgname-$pkgver" meson install -C build --destdir "$pkgdir" ln -s "/usr/bin/com.github.joseexposito.$pkgname" "$pkgdir/usr/bin/$pkgname" }