aboutsummaryrefslogtreecommitdiffstats
path: root/community/cage/APKBUILD
blob: 5964ddcbe42774a9e89ca6627bc1051bd2fef3fa (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
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
# Contributor: Will Sinatra <wpsinatra@gmail.com>
pkgname=cage
pkgver=0.1.1
pkgrel=3
pkgdesc="A Wayland Kiosk"
url="https://github.com/Hjdskes/cage"
arch="all"
license="MIT"
depends="xorg-server-xwayland"
makedepends="meson cmake wlroots-dev wayland-protocols"
options="!check" #No checks
source="$pkgname-$pkgver.tar.gz::https://github.com/Hjdskes/cage/archive/v$pkgver.tar.gz
	0001-Removed-destructors-per-wlroots-PR-1915.patch"

prepare() {
	default_prepare
	meson --buildtype=plain -Dxwayland=true \
		--prefix /usr "$srcdir/build"
}

build() {
	ninja -C "$srcdir/build"
}

package() {
	DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
}

sha512sums="f071f04f1ff7d2b89ae72238ef1a28fd3fbc389803e4a4fe0c3d938c7a2a1cc962b63929d081d975f98131ff6dd9637762e8036bb320277e2580f0cbeb0c6201  cage-0.1.1.tar.gz
1de44027277095786341b15a27bece111105155552d6ca6d27510f30acd921f1a9218ca76e3573e95995540128a076f99b3be219421ae09764f3045fb0638a5a  0001-Removed-destructors-per-wlroots-PR-1915.patch"