APKBUILD 1.32 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.4.4
pkgrel=0
8
pkgdesc="zathura - highly customizable and functional document viewer"
9
url="https://git.pwmt.org/pwmt/zathura"
10
arch="all"
11
license="Zlib"
12
depends="libmagic"
13
makedepends="girara-dev file-dev sqlite-dev intltool check-dev libseccomp-dev
14
	py3-docutils ncurses meson ninja py3-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 20
	test.sh
	doc-py3.patch
	"
21

22 23 24
build() {
	meson build --prefix=/usr
	ninja -C build
25 26 27 28
}

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

31 32 33 34
package() {
	DESTDIR="$pkgdir" ninja -C build install
}

35
sha512sums="8d1e5969cc2f9502d7d966d3341c8f7437422f2dcf952bc2567a5061e611c6fe90c2bc6670963d81b608aa621d70f77ec513d6ab9f03304894bd9ac648aaa6e7  zathura-0.4.4.tar.gz
36 37
2190d324753810c8dc5b109274dcf4f644e51edcda876c225ac76369dd569dda0b8db445b01dac1ac2b06178534d18e1074ca37d1a69622bdc58fd77350b4ddd  test.sh
7956eb2d925e1cd415846dc8116399a34af7fcb14aa6573b3328893f57b845cda91dc2e709d0b4a23b3c808dda946b48d7eb8d2a68d0fb2eb965556ff0f90702  doc-py3.patch"