aboutsummaryrefslogtreecommitdiffstats
path: root/community/girara/APKBUILD
blob: 9c9437f30409fd3c0b2f25c760f30686edce78dd (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
40
41
42
43
44
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=girara
pkgver=0.3.5
pkgrel=0
pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism"
url="https://git.pwmt.org/pwmt/girara"
arch="all"
license="Zlib"
checkdepends="dbus"
makedepends="gtk+3.0-dev libnotify-dev json-c-dev intltool doxygen check-dev
	xvfb ncurses meson ninja"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://git.pwmt.org/pwmt/girara/-/archive/$pkgver/girara-$pkgver.tar.gz
	test.sh"


build() {
	abuild-meson . build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

check() {
	if [ "$CARCH" != "ppc64le" ]; then
		"$srcdir/test.sh"
	fi
}

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

doc() {
	pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism (documentation)"
	local _docdir="$subpkgdir"/usr/share/doc/$pkgname/
	mkdir -p "$_docdir"
	cp -r "$builddir"/build/doc/html/* "$_docdir"
}


sha512sums="c603b65a7b43faf9a115b5e7e00dbadd27f0dab7cad6c9699973d58cd6568e8e36f2424b29caf971c6556cbf24799cd595a5942516ccd3c03fa22683a4290db9  girara-0.3.5.tar.gz
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd  test.sh"