Skip to content

Commit d8d4853

Browse files
committed
Added archlinux PKGBUILD
1 parent 78f5881 commit d8d4853

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

PKGBUILD

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Maintainer: Will Vauclain <willvauclain.dev at gmail dot com>
2+
# Maintainer: Alex Zaslavsky <[email protected]>
3+
pkgname=gebaar-libinput-git
4+
pkgver=r47.07b0ca8
5+
pkgrel=1
6+
pkgdesc='A Super Simple WM Independent Touchpad Gesture Daemon for libinput. Forked version with new features'
7+
arch=('x86_64')
8+
url="https://github.com/Osleg/gebaar-libinput"
9+
license=('GPL3')
10+
depends=('libinput')
11+
makedepends=('cmake' 'git')
12+
conflicts=('gebaar')
13+
provides=('gebaar')
14+
source=('git+https://github.com/Osleg/gebaar-libinput')
15+
md5sums=('SKIP')
16+
17+
18+
pkgver() {
19+
cd "$srcdir/gebaar-libinput"
20+
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21+
}
22+
23+
prepare() {
24+
cd $srcdir/gebaar-libinput
25+
git submodule init
26+
git submodule update
27+
mkdir -p build && cd build
28+
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
29+
}
30+
31+
build() {
32+
cd $srcdir/gebaar-libinput/build
33+
make -j$(nproc)
34+
}
35+
36+
package() {
37+
cd $srcdir/gebaar-libinput/build
38+
make DESTDIR="$pkgdir" install/strip
39+
cd ..
40+
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41+
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
42+
}

0 commit comments

Comments
 (0)