aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cagebreak/APKBUILD
blob: ac2848f29da999e7bed3c8ff0333eceaef80d385 (plain) (blame)
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
37
38
39
# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=cagebreak
pkgver=1.9.1
pkgrel=1
pkgdesc="Wayland tiling compositor inspired by Ratpoison"
url="https://github.com/project-repo/cagebreak"
license="MIT"
arch="all"
options="!check" # no test suite
depends="xwayland"
makedepends="
	libevdev-dev
	meson
	pango-dev
	scdoc
	wayland-protocols
	wlroots0.15-dev
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/project-repo/cagebreak/archive/$pkgver.tar.gz"

build() {
	# defaults to debug build without buildtype=release
	abuild-meson \
		--buildtype=release \
		-Dman-pages=true \
		-Dxwayland=true \
		build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
10887cab94831c1bfc18b01fd247ca0d1c2615a5ca60ff4d3860226d8f9b7207e92f8d10b4b92bb088f4730b9a097c9083ed4368133621694eb2c6c9ffbeae3b  cagebreak-1.9.1.tar.gz
"