aboutsummaryrefslogtreecommitdiffstats
path: root/testing/girara/APKBUILD
blob: 791704ceaf4e738e2502c5828971775432cb2e3a (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
32
33
34
35
# 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.2.7
pkgrel=0
pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism"
url="https://pwmt.org/projects/girara/"
arch="all"
license="zlib"
makedepends="gtk+3.0-dev libnotify-dev intltool doxygen check-dev ncurses"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz"

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

build() {
	make -C "$_builddir" COLOR=0 || return 1
	make -C "$_builddir/doc" COLOR=0 || return 1
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		-C "$_builddir" install || return 1
}

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

sha512sums="4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f  girara-0.2.7.tar.gz"