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