From 0a20c442e02750f8c2392713317ec85e0a597a5e Mon Sep 17 00:00:00 2001 From: Julian Paul Dasmarinas Date: Sun, 23 Sep 2018 18:17:26 +0800 Subject: [PATCH] httpie: Added bash completion --- srcpkgs/httpie/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/httpie/template b/srcpkgs/httpie/template index 00dd80417b5..d98c86c3206 100644 --- a/srcpkgs/httpie/template +++ b/srcpkgs/httpie/template @@ -1,7 +1,7 @@ # Template file for 'httpie' pkgname=httpie version=0.9.9 -revision=1 +revision=2 noarch=yes build_style=python3-module pycompile_module="httpie" @@ -11,11 +11,13 @@ short_desc="Human-friendly command line HTTP client" maintainer="Alessio Sergi " homepage="https://httpie.org/" license="BSD-3-Clause" -distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz" -checksum=f1202e6fa60367e2265284a53f35bfa5917119592c2ab08277efc7fffd744fcb +distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=1c714ac87256d0cc34e2aaa1da653eab085a3a82ac5c48dd6fc6f508fba9e54e + post_install() { vlicense LICENSE + vinstall ${wrksrc}/extras/httpie-completion.bash 644 usr/share/bash-completion/completions httpie } python3-httpie_package() {