blob: 6b8a44beb745ba121b3c0f8f258fab04bb8de0ca (
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
36
|
# Maintainer: steve finkel <mrsteve0924 at verizon dot net>
pkgname=wstroke-git
pkgver=20231112.de90ba4
pkgrel=1
pkgdesc="a mouse gesture plug-in for wayfire. port of easystroke"
arch=('x86_64')
url="https://github.com/dkondor/wstroke"
license=('ISC')
depends=('wayfire>=0.8.0' 'nlohmann-json' 'glib2' 'gtk3' 'gtkmm3' 'boost-libs')
makedepends=('git' 'meson' 'ninja' 'vala')
optdepends=('wcm' 'libinput>=1.70')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
source=('git+https://github.com/dkondor/wstroke')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s.%s" "$(git show -s --format=%cs | tr -d -)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
meson build --prefix=/usr
ninja -C build
}
package() {
cd "$srcdir/${pkgname%-git}"
DESTDIR="$pkgdir/" ninja -C build install
}
|