summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59819172c7d15b938e57b061d76fc9d37081db1e (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
pkgname=wf-info-git
_pkgname=wf-info
pkgver=r1.e49623e
pkgrel=1
pkgdesc="A simple wayfire plugin and program to get information from wayfire"
arch=(x86_64)
url=https://github.com/soreau/wf-info
license=(unknow)
depends=(wayfire)
makedepends=(meson ninja pkg-config git cmake  wayland-protocols glm)
conflicts=("${pkgname}-git")
source=("git+https://github.com/soreau/wf-info.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
}