aboutsummaryrefslogtreecommitdiffstats
path: root/community/girara/APKBUILD
blob: d7d5824917654259aed5f394b325a14f3f1dc0da (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
45
46
47
48
49
50
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=girara
pkgver=0.3.2
pkgrel=0
pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism"
url="https://git.pwmt.org/pwmt/girara"
arch="all"
license="zlib"
# Remove coreutils from checkdepends once this is fixed:
# https://bugs.busybox.net/show_bug.cgi?id=10526
checkdepends="dbus coreutils"
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/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz
	test.sh"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	meson build --prefix=/usr
	ninja -C build
}

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

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C build install
}

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="18ecb1a7cba9997c85389faaa33f43120b2b88bfc358bacc032dc14c5fc37fedb0332b986951216031e18e8440874dc29e5aef41d519dcd28202951e448b573e  girara-0.3.2.tar.gz
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd  test.sh"