aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtk-layer-shell/APKBUILD
blob: d9806718841a5b46c353d4d5d80d98ce1e8a012b (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=gtk-layer-shell
pkgver=0.5.1
pkgrel=0
pkgdesc="Create panels and other desktop components in Wayland using the Layer Shell protocol"
url="https://github.com/wmww/gtk-layer-shell"
arch="all"
license="MIT"
makedepends="meson wayland-dev gtk+3.0-dev gobject-introspection-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz"

build() {
	abuild-meson \
		-Dexamples=false \
		-Ddocs=false \
		-Dtests=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

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

sha512sums="110b92b643dede089021e4e502634415acc75e7cc76c11beb1a987922d31d5342257b81ddb51ba9fea204056113f1f0b90b776f84b603cddb7997ea99bb6344e  gtk-layer-shell-0.5.1.tar.gz"