aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zathura-ps/APKBUILD
blob: 7d4c4b9d00c8d158f2fd69048b4f7e096c56f0e0 (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
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=zathura-ps
pkgver=0.2.2
pkgrel=0
pkgdesc="Postscript support for zathura"
url="https://pwmt.org/projects/zathura-ps"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="$depends_dev zathura-dev girara-dev libspectre-dev gtk+3.0-dev glib-dev"
install=""
subpackages=""
source="https://pwmt.org/projects/zathura-ps/download/zathura-ps-$pkgver.tar.gz"

_builddir="$srcdir"/zathura-ps-$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
}

md5sums="338af976c03c0aa1471b156a0efdc45c  zathura-ps-0.2.2.tar.gz"
sha256sums="e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8  zathura-ps-0.2.2.tar.gz"
sha512sums="4cedd614127b995ad834d5913dd5d9b3dff6172ac31cf42e8d43941815ac03a4872f41d7766c325f435feffa63364c9c377f760cd0540d2f36753e7df1c4c49e  zathura-ps-0.2.2.tar.gz"