summaryrefslogtreecommitdiff
path: root/community/zathura
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/zathura
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/zathura')
-rw-r--r--community/zathura/PKGBUILD33
-rw-r--r--community/zathura/bash-completion29
-rw-r--r--community/zathura/zathura.install14
3 files changed, 0 insertions, 76 deletions
diff --git a/community/zathura/PKGBUILD b/community/zathura/PKGBUILD
deleted file mode 100644
index b40481192..000000000
--- a/community/zathura/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 90594 2013-05-13 10:03:23Z spupykin $
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: ML <neldoreth>
-
-pkgname=zathura
-pkgver=0.2.3
-pkgrel=1
-pkgdesc="a document viewer"
-arch=('i686' 'x86_64')
-url="http://pwmt.org/projects/zathura/"
-license=('custom')
-depends=('girara-gtk2' 'sqlite' 'desktop-file-utils')
-makedepends=('python2-docutils')
-optdepends=('zathura-djvu' 'zathura-pdf-poppler' 'zathura-pdf-mupdf' 'zathura-ps')
-install=zathura.install
-source=(http://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
- bash-completion)
-md5sums=('c0265fd9fa64a37b01d729efb75a7c32'
- 'cac20c37f0e77ba62a8138788f4ccabb')
-
-build() {
- cd $srcdir/zathura-$pkgver
- sed -i 's/rst2man/&2/' config.mk
- make ZATHURA_GTK_VERSION=2
-}
-
-package() {
- cd $srcdir/zathura-$pkgver
- make install DESTDIR=$pkgdir ZATHURA_GTK_VERSION=2
- install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm0644 $srcdir/bash-completion $pkgdir/usr/share/bash-completion/completions/zathura
-}
diff --git a/community/zathura/bash-completion b/community/zathura/bash-completion
deleted file mode 100644
index 41c3825b6..000000000
--- a/community/zathura/bash-completion
+++ /dev/null
@@ -1,29 +0,0 @@
-_zathura() {
- _init_completion || return
-
- EXTENTIONS=''
- for PLUGIN in /usr/lib/zathura/*.so; do
- case ${PLUGIN##*/} in
- pdf.so)
- EXTENTIONS="$EXTENTIONS|pdf"
- ;;
- ps.so)
- EXTENTIONS="$EXTENTIONS|ps|eps|epsi|epsf"
- ;;
- djvu.so)
- EXTENTIONS="$EXTENTIONS|djvu|djv"
- ;;
- epub.so)
- EXTENTIONS="$EXTENTIONS|epub"
- ;;
- cb.so)
- EXTENTIONS="$EXTENTIONS|cb7|cbr|cbz|cbt|rar|zip|7z|tar"
- ;;
- *)
- ;;
- esac
- done
-
- _filedir "${EXTENTIONS#|}"
-} &&
-complete -F _zathura zathura
diff --git a/community/zathura/zathura.install b/community/zathura/zathura.install
deleted file mode 100644
index 1ff3c64cd..000000000
--- a/community/zathura/zathura.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- which gtk-update-icon-cache >/dev/null && \
- [ -d usr/share/icons/hicolor ] && \
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}