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

Jelle van der Waa jelle at archlinux.org
Tue Aug 28 20:28:28 UTC 2018


    Date: Tuesday, August 28, 2018 @ 20:28:27
  Author: jelle
Revision: 375018

upgpkg: httpie 0.9.9-6

FS#55786 enable bash completion

Modified:
  httpie/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-28 19:10:16 UTC (rev 375017)
+++ PKGBUILD	2018-08-28 20:28:27 UTC (rev 375018)
@@ -4,7 +4,7 @@
 
 pkgname=httpie
 pkgver=0.9.9
-pkgrel=5
+pkgrel=6
 pkgdesc="cURL for humans"
 url="https://github.com/jakubroztocil/httpie"
 depends=('python-requests' 'python-pygments' 'python-setuptools')
@@ -38,6 +38,11 @@
   cd $pkgname-$pkgver
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/httpie/LICENSE"
   python3 setup.py install --root="$pkgdir" --optimize=1
+
+  # Fix upstream, inclide them in MANIFEST.in and use data_files in setup.py to install them automatically
+  # TODO: add zsh support
+  install -d $pkgdir/usr/share/bash-completion/completions
+  install -Dm644 extras/httpie-completion.bash $pkgdir/usr/share/bash-completion/completions/http
 }
 
 check() {



More information about the arch-commits mailing list