APKBUILD 1.24 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.3
7
pkgrel=0
8
pkgdesc="zathura - highly customizable and functional document viewer"
9
url="https://git.pwmt.org/pwmt/zathura"
10 11 12
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://git.pwmt.org/pwmt/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz
18 19
	test.sh"
builddir="$srcdir/$pkgname-$pkgver"
20

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

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

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

37
sha512sums="c991f2523cc13f00c7017b150dcf2e41a3f700ce229fcea229cc67e4b4c9aad69b716c0f3ed2d911667855ed134b07e2ee48d0e7745a1ccac0e45281c5aa8136  zathura-0.4.3.tar.gz
38
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd  test.sh"