diff options
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 29f8b53b4c..281efbaa18 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 |