aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zathura/APKBUILD
blob: 0d70b9488ef19590141530009a0c3f1853cea6b9 (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
38
39
40
41
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=zathura
pkgver=0.3.3
pkgrel=0
pkgdesc="Document viewer with Vim-like controls"
url="https://pwmt.org/projects/zathura"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="$depends_dev girara-dev gtk+3.0-dev glib-dev file-dev ncurses"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz"

_builddir="$srcdir"/zathura-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="d360252210ce51a29e8d341b1b72a7cc  zathura-0.3.3.tar.gz"
sha256sums="3347decfc8d4b918a6bca1d44657c3b97d4afcea3c8c1f162c57198b13e8dce7  zathura-0.3.3.tar.gz"
sha512sums="0bfcb2c9ca6e7cf44db1c04fdcc5e1e2122b5bd060c10b711a331f885371a523881a46376c770b60cf199530fd9c7814248e8a6da556da8cd464a3a85dbad8e3  zathura-0.3.3.tar.gz"