blob: cb46d0539811d9bb1eafda713e5bd4398a52a670 (
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
36
37
38
39
40
41
42
43
|
# 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"
checkdepends="dbus"
options="!check" # fails due to tput: terminal attributes: No such device or address
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
make -C "$builddir/doc" COLOR=0
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" \
-C "$builddir" 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"/doc/build/html/* "$_docdir"
}
check () {
if [ "$CARCH" != "ppc64le" ]; then
make -C "$builddir" test
fi
}
sha512sums="4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f girara-0.2.7.tar.gz"
|