blob: aabed35ee24f4e15dd4577524a7defd7ad13cf13 (
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
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.2.9
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 json-c-dev intltool doxygen check-dev
xvfb ncurses meson ninja"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/girara/download/girara-$pkgver.tar.xz
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="2e04d3c436dc79098676652d8d503c82b9c6f75af92e84b32ee5e41bcaaca38d079eebd9c1cb461789cff4461c1bea2f95a868dd4cd09acb708f30a5044e5c87 girara-0.2.9.tar.xz
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd test.sh"
|