aboutsummaryrefslogtreecommitdiffstats
path: root/community/cage/APKBUILD
blob: f0be7e6a46030fe30833e9394db71dc5f963d0b2 (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
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
# Contributor: Will Sinatra <wpsinatra@gmail.com>
pkgname=cage
pkgver=0.1.1
pkgrel=2
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

prepare() {
	meson --buildtype=debugoptimized -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"