PKGBUILDs/community/zathura/PKGBUILD

51 lines
1.4 KiB
Bash
Raw Normal View History

2016-04-20 01:07:05 +00:00
# $Id$
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ML <neldoreth>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to fix FTBFS on ARM
pkgname=zathura
2017-12-24 15:09:48 +00:00
pkgver=0.3.8
2017-01-14 18:32:21 +00:00
pkgrel=1
2016-04-20 01:07:05 +00:00
pkgdesc="Minimalistic document viewer"
url="http://pwmt.org/projects/zathura/"
2017-12-24 15:09:48 +00:00
arch=('x86_64')
2016-04-20 01:07:05 +00:00
license=('custom')
makedepends=('python2-docutils' 'texlive-bin')
2017-01-14 18:32:21 +00:00
depends=('girara>=0.2.7' 'sqlite' 'desktop-file-utils' 'file' 'libsynctex')
2016-04-20 01:07:05 +00:00
optdepends=('zathura-djvu: DjVu support'
'zathura-pdf-poppler: PDF support using Poppler'
'zathura-pdf-mupdf: PDF support using MuPDF'
2017-12-24 15:09:48 +00:00
'zathura-ps: PostScript support'
'zathura-cb: Comic book support')
2016-04-20 01:07:05 +00:00
2017-01-14 18:32:21 +00:00
source=(https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
2016-04-20 01:07:05 +00:00
bash-completion
makefile.patch)
2017-12-24 15:09:48 +00:00
sha1sums=('f96df67bd12068af8ed14671877b1ebe64931241'
2016-04-20 01:07:05 +00:00
'94a8236c483626a7f3acee053a1ea885aed45a82'
'be57203c6709951635981936d0a7907db5672663')
prepare() {
patch -p1 -d zathura-$pkgver -i ../makefile.patch
}
build() {
cd zathura-$pkgver
make WITH_SYNCTEX=1
}
package() {
cd zathura-$pkgver
make install DESTDIR="$pkgdir"
install -D -m664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm0644 "$srcdir"/bash-completion "$pkgdir"/usr/share/bash-completion/completions/zathura
}