blob: fcbdb7769814fa2886e7932ceed6ed5b121a9a9e (
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
|
# $Id: PKGBUILD 58277 2011-11-09 16:52:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ML <neldoreth>
pkgname=zathura
pkgver=0.0.8.5
pkgrel=4
pkgdesc="a PDF viewer"
arch=('i686' 'x86_64')
url="http://zathura.pwmt.org"
license=('custom')
depends=('poppler-glib' 'gtk2' 'cairo')
makedepends=('docutils')
install=zathura.install
DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u')
source=(https://pwmt.org/download/zathura-$pkgver.tar.gz)
md5sums=('52e0c3b3917c7feaecba98cff8435b90')
build() {
cd $srcdir/zathura-$pkgver
make
}
package() {
cd $srcdir/zathura-$pkgver
make install DESTDIR=$pkgdir
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
mkdir -p $pkgdir/etc/bash_completion.d/
echo "complete -f -X '!*.[pf]df' zathura" >$pkgdir/etc/bash_completion.d/zathura
}
|