aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zathura/APKBUILD
blob: 05cb399dd8c79f87e61bed996c560b193a91ce5c (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
# 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.7
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"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	make -C "$_builddir" || return 1
	make -C "$_builddir/doc" || return 1
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		-C "$_builddir" install || return 1
}

sha512sums="830a1b88820507a40a20b046c504d8ab3022a35c2c4c0d93a67f77ab5e31d746362a6f28fb9786a647cd0bfd943306aca74cbb2092774aedfb52380e713df533  zathura-0.3.7.tar.gz"