aboutsummaryrefslogtreecommitdiffstats
path: root/community/zathura/APKBUILD
blob: 85165bd926049a8d76a4b498fa664793aa118d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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
pkgver=0.3.8
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"
checkdepends="mesa-dri-swrast dbus xvfb"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
	test.sh"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	make -C "$builddir"
	make -C "$builddir/doc"
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		-C "$builddir" install
}

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

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