APKBUILD 1.23 KB
Newer Older
1 2 3 4 5
# 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=zathura
6
pkgver=0.4.0
7
pkgrel=0
8 9 10 11 12
pkgdesc="zathura - highly customizable and functional document viewer"
url="https://pwmt.org/projects/zathura/"
arch="all"
license="zlib"
depends="libmagic"
13 14
makedepends="girara-dev file-dev sqlite-dev intltool check-dev libseccomp-dev
	py-docutils ncurses meson ninja py-sphinx desktop-file-utils"
15
checkdepends="mesa-dri-swrast dbus xvfb"
16
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
17
source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.xz
18 19
	test.sh"
builddir="$srcdir/$pkgname-$pkgver"
20 21


22 23 24 25
build() {
	cd "$builddir"
	meson build --prefix=/usr
	ninja -C build
26 27 28 29 30
}

check() {
	cd "$builddir"
	"$srcdir/test.sh"
31 32
}

33 34 35 36 37 38 39 40
package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C build install
}


sha512sums="3da8099ca4cad357f637d88dad3491b1fdea85d4d2201357ebbea3b8a2923aa9f4c79027aabe10289d28a35d88a27ffe8775d93a1e4d694c5e1bc1218016d421  zathura-0.4.0.tar.xz
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd  test.sh"