aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cagebreak/APKBUILD
blob: 99987202b487453ef2c71acb7867dfec874a4d5b (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.0
pkgrel=0
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
	wlroots-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="
9b89bcb29fd2d11ab2c46adb03befc5b03a613e48be3ca3c382446d3a9018859da7ee7436976ed837eef17f768d9a2c60be9d96f6aa6f6ee38cebbd3e898108e  cagebreak-1.9.0.tar.gz
"