blob: 5f9b57bb696deba362879b75008c2b4e03076d2d (
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
|
pkgname=wf-kill-git
_pkgname=wf-kill
pkgver=r6.c667279
pkgrel=1
pkgdesc="A way to close a wayfire view by clicking on it. Returns the client PID"
arch=(x86_64)
url=https://github.com/soreau/wf-kill
license=(unknow)
depends=(wayfire)
makedepends=(meson ninja pkg-config git cmake wayland-protocols glm)
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=("git+https://github.com/soreau/wf-kill.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
rm -rf build
arch-meson "${_pkgname}" build
ninja -C build
}
check () {
meson test -C build
}
package() {
DESTDIR="${pkgdir}" ninja -C build install
}
|