aboutsummaryrefslogtreecommitdiff
path: root/system/fzf/fzf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fzf/fzf.SlackBuild')
-rw-r--r--system/fzf/fzf.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index 876875bf36264..aac2ce18deb4c 100644
--- a/system/fzf/fzf.SlackBuild
+++ b/system/fzf/fzf.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fzf
-VERSION=${VERSION:-0.15.5}
+VERSION=${VERSION:-0.15.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,11 +53,14 @@ sed -i 's/cd \$(SRCDIR) && go get/cd \$(SRCDIR)/' src/Makefile
mkdir -p gopath/src/github.com/junegunn/
-tar xf $CWD/63c378b8 2> /dev/null || tar xf $CWD/junegunn-go-runewidth-travisish-26-g63c378b.tar.gz
-mv junegunn-go-runewidth-63c378b gopath/src/github.com/junegunn/go-runewidth
+for DEPENDENCY in go-shellwords-35d512af75e283aae4ca1fc3d44b159ed66189a4 \
+ go-runewidth-63c378b851290989b19ca955468386485f118c65 \
+ go-isatty-66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8 ; do
+ DEPENDENCY_NAME="$(echo "$DEPENDENCY" | rev | cut -d- -f2- | rev)"
-tar xf $CWD/35d512af 2> /dev/null || tar xf $CWD/junegunn-go-shellwords-35d512a.tar.gz
-mv junegunn-go-shellwords-35d512a gopath/src/github.com/junegunn/go-shellwords
+ tar xf $CWD/$DEPENDENCY.tar.gz
+ mv $DEPENDENCY gopath/src/github.com/junegunn/$DEPENDENCY_NAME
+done
chown -R root:root .
find -L . \