summaryrefslogtreecommitdiffstats
path: root/system/fzf/fzf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fzf/fzf.SlackBuild')
-rw-r--r--system/fzf/fzf.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index f00a0d015e..fdb1d74bf4 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.17.5}
+VERSION=${VERSION:-0.18.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,21 +49,17 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-sed -i '/glide install/d' Makefile
+# build offline with our vendored dependencies
+sed -i '/^BUILD_FLAGS/s/$/ -mod=vendor/' Makefile
mkdir -p vendor/github.com
-for DEPENDENCY in codegangsta/cli/c6af8847eb2b7b297d07c3ede98903e95e680ef9 \
- gdamore/encoding/b23993cbb6353f0e6aa98d0ee318a34728f628b9 \
+for DEPENDENCY in gdamore/encoding/b23993cbb6353f0e6aa98d0ee318a34728f628b9 \
gdamore/tcell/0a0db94084dfe181108c18508ebd312f12d331fb \
lucasb-eyer/go-colorful/c900de9dbbc73129068f5af6a823068fc5f2308c \
- Masterminds/semver/15d8430ab86497c5c0da827b748823945e1cf1e1 \
- Masterminds/vcs/6f1c6d150500e452704e9863f68c2559f58616bf \
mattn/go-isatty/66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8 \
mattn/go-runewidth/14207d285c6c197daabb5c9793d63e7af9ab2d50 \
- mattn/go-shellwords/02e3cf038dcea8290e44424da473dd12be796a8a \
- mitchellh/go-homedir/b8bc1bf767474819792c23f32d8286a45736f1c6 \
- go-yaml/yaml/287cf08546ab5e7e37d55a84f7ed3fd1db036de5 ; do
+ mattn/go-shellwords/02e3cf038dcea8290e44424da473dd12be796a8a ; do
DEPENDENCY_OWNER="$(echo "$DEPENDENCY" | cut -d/ -f1)"
DEPENDENCY_NAME="$(echo "$DEPENDENCY" | cut -d/ -f2)"
DEPENDENCY_REV="$(echo "$DEPENDENCY" | cut -d/ -f3)"