APKBUILD 1.17 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 7
pkgver=0.3.8
pkgrel=0
8 9 10 11 12 13
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
14
	ncurses"
15
checkdepends="mesa-dri-swrast dbus xvfb"
16
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
17 18 19
source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
	test.sh"
builddir="$srcdir/$pkgname-$pkgver"
20 21

build() {
22 23
	make -C "$builddir"
	make -C "$builddir/doc"
24 25 26 27
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
28 29 30 31 32 33
		-C "$builddir" install
}

check() {
	cd "$builddir"
	"$srcdir/test.sh"
34 35
}

36
sha512sums="bad10eaf6642885f96850a01921dc1580357144d8b9b27e88e7765e6fc8e7d8f8c94c240904469e1e6b22114be5117a28a24c87183476d2c89d93f27a5083109  zathura-0.3.8.tar.gz
37
295af504eb3f20171f4ab766a39e1211778cae1187f90dfd1db1601424e5c13c36953697f2244dbe0b10bc6c8d0db3166096551f92254fb2a4182b280dab32d4  test.sh"