summaryrefslogtreecommitdiff
path: root/system/fzf/fzf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fzf/fzf.SlackBuild')
-rw-r--r--system/fzf/fzf.SlackBuild22
1 files changed, 15 insertions, 7 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index 2422fa2d01..ac4c40e553 100644
--- a/system/fzf/fzf.SlackBuild
+++ b/system/fzf/fzf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fzf
-# Copyright 2016 Andrew Clemons, Wellington New Zealand
+# Copyright 2016-2017 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fzf
-VERSION=${VERSION:-0.15.9}
+VERSION=${VERSION:-0.16.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +62,17 @@ for DEPENDENCY in go-shellwords-35d512af75e283aae4ca1fc3d44b159ed66189a4 \
mv $DEPENDENCY gopath/src/github.com/junegunn/$DEPENDENCY_NAME
done
+mkdir -p gopath/src/golang.org/x
+for DEPENDENCY in crypto-2f8be38b9a7533b8763d48273737ff6e90428a96 ; do
+ DEPENDENCY_NAME="$(echo "$DEPENDENCY" | rev | cut -d- -f2- | rev)"
+
+ tar xf $CWD/$DEPENDENCY.tar.gz
+ mv $DEPENDENCY gopath/src/golang.org/x/$DEPENDENCY_NAME
+done
+
if [ "$WITH_TCELL" != "yes" ] ; then :
else
- for DEPENDENCY in tcell-d4838882df49299993d4da46347f39ec6f7eef4a ; do
+ for DEPENDENCY in tcell-44772c121bb7838819d3ba4a7e84c0c2d617328e ; do
DEPENDENCY_NAME="$(echo "$DEPENDENCY" | rev | cut -d- -f2- | rev)"
tar xf $CWD/$DEPENDENCY.tar.gz
@@ -100,7 +108,7 @@ else
done
mkdir -p gopath/src/golang.org/x
- for DEPENDENCY in text-b01949dc0793a9af5e4cb3fce4d42999e76e8ca1 ; do
+ for DEPENDENCY in text-f72d8390a633d5dfb0cc84043294db9f6c935756 ; do
DEPENDENCY_NAME="$(echo "$DEPENDENCY" | rev | cut -d- -f2- | rev)"
tar xf $CWD/$DEPENDENCY.tar.gz
@@ -156,11 +164,11 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
WITH_VIM=${WITH_VIM:-yes}
-if [ "$WITH_VIM" != "yes" ] ; then
- install -m 0644 plugin/fzf.vim $PKG/usr/share/fzf/vim/
-else
+if [ "$WITH_VIM" = "yes" ] ; then
mkdir -p $PKG/usr/share/vim/vimfiles/plugin
install -m 0644 plugin/fzf.vim $PKG/usr/share/vim/vimfiles/plugin
+else
+ install -m 0644 plugin/fzf.vim $PKG/usr/share/fzf/vim/
fi
mkdir -p $PKG/install