commit 9b172450c8c2de0e4bfeed3bd497dba5d86170c4 parent ff4ba45fd72c713c92453494cff6503bc87b2369 Author: Dash Eclipse <dash@ezup.dev> Date: Thu, 1 Oct 2020 18:23:20 +0000 zsh-insulter: update template Diffstat:
M | srcpkgs/zsh-insulter/template | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/zsh-insulter/template b/srcpkgs/zsh-insulter/template @@ -1,7 +1,7 @@ # Template file for 'zsh-insulter' pkgname=zsh-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,8 @@ license="Unknown" homepage="https://github.com/matmutant/${pkgname}" do_install() { - $XBPS_FETCH_CMD https://raw.githubusercontent.com/matmutant/zsh-insulter/master/src/zsh.command-not-found + local _commit="92ab0610b388dd2fb5341f7ac58570f35956cb17" + local _repo="https://raw.githubusercontent.com/matmutant/${pkgname}/${_commit}" + $XBPS_FETCH_CMD "${_repo}/src/zsh.command-not-found" vinstall zsh.command-not-found 644 etc }