aboutsummaryrefslogtreecommitdiffstats
path: root/community/zathura/APKBUILD
blob: 6b82a25edc5dc2e0295d28f15d5d3053f4654e68 (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
# 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.4.5
pkgrel=0
pkgdesc="zathura - highly customizable and functional document viewer"
url="https://git.pwmt.org/pwmt/zathura"
arch="all"
license="Zlib"
makedepends="girara-dev file-dev sqlite-dev intltool check-dev libseccomp-dev
	py3-docutils ncurses meson ninja py3-sphinx desktop-file-utils appstream-glib"
checkdepends="mesa-dri-swrast dbus xvfb"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://git.pwmt.org/pwmt/zathura/-/archive/$pkgver/zathura-$pkgver.tar.gz
	test.sh
	"

build() {
	meson build --prefix=/usr
	ninja -C build
}

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

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="9ce6c7745d83d7e21fcbbc6a7c799a4223cf77afbe1c933b710c1c7920c98ae1edcf683ae42433f448a091eb317f2b71b3bde9d1b27c8089d1adbc9aa0ab4e78  zathura-0.4.5.tar.gz
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd  test.sh"