diff --git a/srcpkgs/httpie/template b/srcpkgs/httpie/template index d98c86c3206..5f793fbba2f 100644 --- a/srcpkgs/httpie/template +++ b/srcpkgs/httpie/template @@ -1,7 +1,7 @@ # Template file for 'httpie' pkgname=httpie version=0.9.9 -revision=2 +revision=3 noarch=yes build_style=python3-module pycompile_module="httpie" @@ -11,13 +11,12 @@ short_desc="Human-friendly command line HTTP client" maintainer="Alessio Sergi " homepage="https://httpie.org/" license="BSD-3-Clause" -distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" +distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz" checksum=1c714ac87256d0cc34e2aaa1da653eab085a3a82ac5c48dd6fc6f508fba9e54e - post_install() { + vinstall extras/httpie-completion.bash 644 usr/share/bash-completion/completions http vlicense LICENSE - vinstall ${wrksrc}/extras/httpie-completion.bash 644 usr/share/bash-completion/completions httpie } python3-httpie_package() {