diff options
author | Jean-Louis Fuchs <ganwell@fangorn.ch> | 2017-10-03 21:18:17 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-10-20 07:10:27 +0000 |
commit | dd46cdc69cf8369f8bbd8698209986e36d428f76 (patch) | |
tree | 6c59bae5a9d5218b679c831e4c43ba823db3b7d9 /community | |
parent | 4654b5649c209b327774906ed888269ea84f4bd8 (diff) | |
download | aports-dd46cdc69cf8369f8bbd8698209986e36d428f76.tar.bz2 aports-dd46cdc69cf8369f8bbd8698209986e36d428f76.tar.xz |
community/girara: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/girara/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/girara/APKBUILD b/community/girara/APKBUILD new file mode 100644 index 0000000000..89dcd22400 --- /dev/null +++ b/community/girara/APKBUILD @@ -0,0 +1,42 @@ +# 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" +# dbus for tests only +makedepends="gtk+3.0-dev libnotify-dev intltool doxygen check-dev ncurses dbus" +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" |