diff options
author | Jean-Louis Fuchs <ganwell@fangorn.ch> | 2017-03-23 13:25:39 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-23 15:40:36 +0000 |
commit | 911daf20178753c35298609b7bbc10062bf093cd (patch) | |
tree | ffb1806cecd8c77220de2e089e668e8c5324623e /testing/zathura | |
parent | 77d65116c237fb393756079b156f6f9d521d2e1f (diff) | |
download | aports-911daf20178753c35298609b7bbc10062bf093cd.tar.bz2 aports-911daf20178753c35298609b7bbc10062bf093cd.tar.xz |
testing/zathura: Add check(), remove returns
Diffstat (limited to 'testing/zathura')
-rw-r--r-- | testing/zathura/APKBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/testing/zathura/APKBUILD b/testing/zathura/APKBUILD index 05cb399dd8..e777260861 100644 --- a/testing/zathura/APKBUILD +++ b/testing/zathura/APKBUILD @@ -4,27 +4,32 @@ # Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch> pkgname=zathura pkgver=0.3.7 -pkgrel=0 +pkgrel=1 pkgdesc="zathura - highly customizable and functional document viewer" url="https://pwmt.org/projects/zathura/" arch="all" license="zlib" depends="libmagic" +# mesa-dri-swrast, dbus for tests only makedepends="girara-dev file-dev sqlite-dev intltool check-dev py-docutils - ncurses" + ncurses mesa-dri-swrast dbus" subpackages="$pkgname-doc $pkgname-dev $pkgname-lang" source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" build() { - make -C "$_builddir" || return 1 - make -C "$_builddir/doc" || return 1 + make -C "$builddir" + make -C "$builddir/doc" } package() { make PREFIX=/usr DESTDIR="$pkgdir" \ - -C "$_builddir" install || return 1 + -C "$builddir" install +} + +check() { + make -C "$builddir" test } sha512sums="830a1b88820507a40a20b046c504d8ab3022a35c2c4c0d93a67f77ab5e31d746362a6f28fb9786a647cd0bfd943306aca74cbb2092774aedfb52380e713df533 zathura-0.3.7.tar.gz" |