aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/zathura-ps/APKBUILD
blob: e1e91607793fabb3c50f377ef66674c176650e09 (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.3
pkgrel=0
pkgdesc="Postscript support for zathura"
url="https://pwmt.org/projects/$pkgname"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="zathura-dev girara-dev libspectre-dev gtk+3.0-dev glib-dev"
install=""
subpackages=""
source="https://pwmt.org/projects/$pkgname/download/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$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="7b9c7d25f015c4c4399d57b30a775c02  zathura-ps-0.2.3.tar.gz"
sha256sums="a9eef74b12aec87ac2c4309f12d0f9c83b228fe64a788ee46b2c3a7c91779aa3  zathura-ps-0.2.3.tar.gz"
sha512sums="e5ce62f494f45eeb41a3cf5c91633953fd730b4dd448723afb39fa30cb58f887ef71e5ac462503791905c8de758ca0157805b5e672c6e0807d159294e2b29c7a  zathura-ps-0.2.3.tar.gz"