aboutsummaryrefslogtreecommitdiffstats
path: root/community/zathura/APKBUILD
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2018-06-10 18:01:30 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-12 09:27:51 +0000
commiteffe588c0b2d47c1f8fa56c83e58090305b00b95 (patch)
treeeefa7c0db2eb29d90f8ffbba7236c0f6e85557a5 /community/zathura/APKBUILD
parentb7588e572d5b7336a42c3b2d57f4480829ea1c9f (diff)
downloadaports-effe588c0b2d47c1f8fa56c83e58090305b00b95.tar.bz2
aports-effe588c0b2d47c1f8fa56c83e58090305b00b95.tar.xz
community/zathura: upgrade to 0.4.0
Upstream switched to meson build
Diffstat (limited to 'community/zathura/APKBUILD')
-rw-r--r--community/zathura/APKBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/community/zathura/APKBUILD b/community/zathura/APKBUILD
index 85165bd926..5a9fb0f780 100644
--- a/community/zathura/APKBUILD
+++ b/community/zathura/APKBUILD
@@ -3,29 +3,26 @@
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=zathura
-pkgver=0.3.8
+pkgver=0.4.0
pkgrel=0
pkgdesc="zathura - highly customizable and functional document viewer"
url="https://pwmt.org/projects/zathura/"
arch="all"
license="zlib"
depends="libmagic"
-makedepends="girara-dev file-dev sqlite-dev intltool check-dev py-docutils
- ncurses"
+makedepends="girara-dev file-dev sqlite-dev intltool check-dev libseccomp-dev
+ py-docutils ncurses meson ninja py-sphinx desktop-file-utils"
checkdepends="mesa-dri-swrast dbus xvfb"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
-source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
+source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.xz
test.sh"
builddir="$srcdir/$pkgname-$pkgver"
-build() {
- make -C "$builddir"
- make -C "$builddir/doc"
-}
-package() {
- make PREFIX=/usr DESTDIR="$pkgdir" \
- -C "$builddir" install
+build() {
+ cd "$builddir"
+ meson build --prefix=/usr
+ ninja -C build
}
check() {
@@ -33,5 +30,11 @@ check() {
"$srcdir/test.sh"
}
-sha512sums="bad10eaf6642885f96850a01921dc1580357144d8b9b27e88e7765e6fc8e7d8f8c94c240904469e1e6b22114be5117a28a24c87183476d2c89d93f27a5083109 zathura-0.3.8.tar.gz
-295af504eb3f20171f4ab766a39e1211778cae1187f90dfd1db1601424e5c13c36953697f2244dbe0b10bc6c8d0db3166096551f92254fb2a4182b280dab32d4 test.sh"
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+
+sha512sums="3da8099ca4cad357f637d88dad3491b1fdea85d4d2201357ebbea3b8a2923aa9f4c79027aabe10289d28a35d88a27ffe8775d93a1e4d694c5e1bc1218016d421 zathura-0.4.0.tar.xz
+2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd test.sh"