blob: 92fe7902e0585dfa0a232cd3215a1f783ea75c6b (
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-djvu
pkgver=0.2.5
pkgrel=0
pkgdesc="DjVu support for zathura"
url="https://pwmt.org/projects/$pkgname"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="$depends_dev zathura-dev girara-dev djvulibre-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="b7fcd813a8eba888340e9556769eaf62 zathura-djvu-0.2.5.tar.gz"
sha256sums="08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d zathura-djvu-0.2.5.tar.gz"
sha512sums="475ad916ed4b1cb1f7d79cf3417a68084bf00d737ffd5436c8079012dff2c8a3c4af28753dd42ad412269ea340e3844f2f781eee080f5487a13ee3a272ffa55a zathura-djvu-0.2.5.tar.gz"
|