void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

commit ff4ba45fd72c713c92453494cff6503bc87b2369
parent 650d03f27bfd4b23563e8138f4984e5e61eb2879
Author: Dash Eclipse <dash@ezup.dev>
Date:   Thu,  1 Oct 2020 18:22:54 +0000

bash-insulter: update template

Diffstat:
Msrcpkgs/bash-insulter/template | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/bash-insulter/template b/srcpkgs/bash-insulter/template @@ -1,7 +1,7 @@ # Template file for 'bash-insulter' pkgname=bash-insulter version=0.1 -revision=1 +revision=2 build_style=fetch short_desc="Insults the user when typing wrong command" maintainer="Dash Eclipse <dash@ezup.dev>" @@ -9,6 +9,10 @@ license="MIT" homepage="https://github.com/hkbakke/${pkgname}" do_install() { - $XBPS_FETCH_CMD https://raw.githubusercontent.com/hkbakke/bash-insulter/master/src/bash.command-not-found + local _commit="8c6d84a430741b35b9f6f9ca1f139eb0c1c93776" + local _repo="https://raw.githubusercontent.com/hkbakke/${pkgname}/${_commit}" + $XBPS_FETCH_CMD "${_repo}/src/bash.command-not-found" + $XBPS_FETCH_CMD "${_repo}/LICENSE" vinstall bash.command-not-found 644 etc + vlicense LICENSE }