diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2017-09-22 19:38:53 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-09-22 19:38:53 +0100 |
commit | 3902c75334f76f39e76c99b373aa468d77d922a8 (patch) | |
tree | a04e885639ea6ec71a6735f7083de97159509230 /system/fzf/fzf.SlackBuild | |
parent | a34aa65cc2c08ab780a691005114d412432fc1ce (diff) |
system/fzf: Updated for version 0.17.0_2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/fzf/fzf.SlackBuild')
-rw-r--r-- | system/fzf/fzf.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild index 29f8b53b4cf71..281efbaa188ec 100644 --- a/system/fzf/fzf.SlackBuild +++ b/system/fzf/fzf.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fzf -VERSION=${VERSION:-0.17.0} +VERSION=${VERSION:-0.17.0_2} +SRCVERSION="$(echo "$VERSION" | tr _ -)" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -45,9 +46,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION sed -i '/glide install/d' Makefile @@ -63,7 +64,7 @@ for DEPENDENCY in gdamore/encoding/b23993cbb6353f0e6aa98d0ee318a34728f628b9 \ DEPENDENCY_NAME="$(echo "$DEPENDENCY" | cut -d/ -f2)" DEPENDENCY_REV="$(echo "$DEPENDENCY" | cut -d/ -f3)" -mkdir -p vendor/github.com/$DEPENDENCY_OWNER + mkdir -p vendor/github.com/$DEPENDENCY_OWNER tar xf $CWD/$DEPENDENCY_NAME-$DEPENDENCY_REV.tar.gz mv $DEPENDENCY_NAME-$DEPENDENCY_REV vendor/github.com/$DEPENDENCY_OWNER/$DEPENDENCY_NAME |