summaryrefslogtreecommitdiff
path: root/system/fzf/fzf.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2016-11-22 11:40:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-22 11:41:22 +0700
commit58149f25adf407588e1ce6e70fed0e1aff6cf656 (patch)
tree7a84d87e990c3fb7ad4f622dad07f7bafd2dc148 /system/fzf/fzf.SlackBuild
parentf7972c95a00d6a87a293628e86631b915322c418 (diff)
downloadslackbuilds-58149f25adf407588e1ce6e70fed0e1aff6cf656.tar.gz
system/fzf: Updated for version 0.15.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 876875bf36..aac2ce18de 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 . \