[arch-commits] Commit in zathura/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Thu Aug 15 17:24:55 UTC 2019


    Date: Thursday, August 15, 2019 @ 17:24:54
  Author: demize
Revision: 499573

Fix zsh completion path and stop overriding upstream bash completion

Modified:
  zathura/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-15 16:43:40 UTC (rev 499572)
+++ PKGBUILD	2019-08-15 17:24:54 UTC (rev 499573)
@@ -5,7 +5,7 @@
 
 pkgname=zathura
 pkgver=0.4.3
-pkgrel=2
+pkgrel=3
 
 pkgdesc="Minimalistic document viewer"
 url="https://git.pwmt.org/pwmt/zathura"
@@ -20,11 +20,9 @@
             'zathura-ps: PostScript support'
             'zathura-cb: Comic book support')
 
-source=(zathura-$pkgver.tar.gz::https://github.com/pwmt/zathura/archive/$pkgver.tar.gz
-        bash-completion)
+source=(zathura-$pkgver.tar.gz::https://github.com/pwmt/zathura/archive/$pkgver.tar.gz)
 
-sha1sums=('0135d90d1561ee40f02111785d8afb9fec311b7c'
-          '94a8236c483626a7f3acee053a1ea885aed45a82')
+sha1sums=('0135d90d1561ee40f02111785d8afb9fec311b7c')
 
 build() {
   cd zathura-$pkgver
@@ -45,5 +43,5 @@
   DESTDIR="$pkgdir" ninja install
 
   install -D -m664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm0644 "$srcdir"/bash-completion "$pkgdir"/usr/share/bash-completion/completions/zathura
+  mv "$pkgdir"/usr/share/zsh/vendor-completions "$pkgdir"/usr/share/zsh/site-functions
 }



More information about the arch-commits mailing list