Commit effe588c authored by Jean-Louis Fuchs's avatar Jean-Louis Fuchs Committed by Natanael Copa

community/zathura: upgrade to 0.4.0

Upstream switched to meson build
parent b7588e57
......@@ -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"
......@@ -3,7 +3,7 @@
Xvfb :4242 &
PID=$!
export DISPLAY=:4242
if make test; then
if ninja -C build meson-test; then
kill $PID
return 0
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment