blob: 44741ec2bc6734765dc94c91dc510e90d29c5620 (
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-pdf-poppler
pkgver=0.2.6
pkgrel=0
pkgdesc="PDF support for zathura via poppler"
url="https://pwmt.org/projects/$pkgname"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="poppler-dev girara-dev zathura-dev gtk+3.0-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="fc242236dda05f4a75cb41b52356ccae zathura-pdf-poppler-0.2.6.tar.gz"
sha256sums="d1eb0c7a4f647c141192a2d7bf66413b9c5f1842463947ab87a8a1edcf8e58d5 zathura-pdf-poppler-0.2.6.tar.gz"
sha512sums="3675d73da173cdfebee5ec83fa36d1861d6143b55931a2be16b24be1dbc70ce98dbc559f92e93e0d7f4d9073095d276754f64e41714810a6610abb09ab447aea zathura-pdf-poppler-0.2.6.tar.gz"
|