aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zathura-pdf-poppler/APKBUILD
blob: 4d95429bab4075e69c8598e8ca500979102ee088 (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-pdf-poppler
pkgver=0.2.5
pkgrel=0
pkgdesc="PDF support for zathura via poppler"
url="https://pwmt.org/projects/zathura-pdf-poppler"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="$depends_dev poppler-dev girara-dev zathura-dev gtk+3.0-dev"
install=""
subpackages=""
source="https://pwmt.org/projects/zathura-pdf-poppler/download/zathura-pdf-poppler-$pkgver.tar.gz"

_builddir="$srcdir"/zathura-pdf-poppler-$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="e314b8b136e71aa4925a864141f12d15  zathura-pdf-poppler-0.2.5.tar.gz"
sha256sums="60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac  zathura-pdf-poppler-0.2.5.tar.gz"
sha512sums="6ef167873c469a15f46a59a7e5cf1d50a3b9e3cb496f135da17975de7f9631b8e41076d1e7767f5715eb805d77e19e1bed3e4b39a0c49b0ea6ed2aebe616d56d  zathura-pdf-poppler-0.2.5.tar.gz"