blob: 05dc323d5c7f4d2cca662380c0d5e7422350bf6e (
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
44
45
46
47
|
# 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.8
pkgrel=0
pkgdesc="girara - gtk user interface that focuses on simplicity and minimalism"
url="https://pwmt.org/projects/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 intltool doxygen check-dev xvfb ncurses"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz
test.sh"
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 COLOR=0
}
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
cd "$builddir"
"$srcdir/test.sh"
fi
}
sha512sums="d853f8337a63ae2ed319547a2daa2ccd3ce6f31b3dbb52522705c78dbbb94da1dc1efc4ac62d3c2af94531d4dea309323b878619ea0c9778c37960791ca0cb4e girara-0.2.8.tar.gz
a8e200a84395d638219f2fdb29055d7caead8fc9db63f98e77944f84e206e1d561d36fe6818a969bf4f8b348b7f5c2f5d0db655c01ee8ee31687ecbe9b8c1494 test.sh"
|