public
Created

zathura-girara-git python-docutils optional dependency support patch

  • Download Gist
zatgir_rst2man.diff
Diff
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
--- PKGBUILD 2012-01-29 12:14:48.000000000 +0100
+++ PKGBUILD_20120202_164637 2012-02-02 16:49:36.620003579 +0100
@@ -1,7 +1,7 @@
#Contributor: karnath <karnathtorjian@gmail.com>
pkgname=zathura-girara-git
pkgver=20111211
-pkgrel=3
+pkgrel=4
pkgdesc="Vim like document viewer"
arch=('i686' 'x86_64')
url="https://pwmt.org/projects/zathura/"
@@ -12,6 +12,7 @@
'zathura-pdf-mupdf: PDF support by using mupdf'
'zathura-djvu: djvu support by using djvulibre'
'zathura-ps: PostSctipt support by using libspectre'
+'python-docutils: used to generate the configuration manual'
)
makedepends=('git')
install=zathura.install
@@ -44,7 +45,7 @@
cd ${srcdir}/$_gitname-build/ || return 1
make DESTDIR="$pkgdir" install || return 1
- install -D -m664 zathurarc.5.rst "$pkgdir/usr/share/doc/$pkgname/zathurarc.5.rst"
+ pacman -Qi python-docutils > /dev/null 2>&1 || install -D -m664 zathurarc.5.rst "$pkgdir/usr/share/doc/$pkgname/zathurarc.5.rst"
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.