blob: 4385759629877e9ae63b9bc224e33db6185b63cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=touche
pkgver=2.0.6
pkgrel=1
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=('c502c58f82ead6409a760f43297742f7613544065f43ea5c6669167af34fd297')
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"
}
|