summaryrefslogtreecommitdiffstats
path: root/system/fzf/fzf.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2018-06-10 21:58:46 +0200
committer David Spencer2018-06-14 02:14:50 +0200
commit43a9f23ea8f556053c2fd2a53c9f00b4b82f05d4 (patch)
tree5e1d0493a8e713d457e5def8f0c4973fca08acbe /system/fzf/fzf.SlackBuild
parentaedd9ac97c4a43bb2d83e7e059d2ec2720a1ee5a (diff)
downloadslackbuilds-43a9f23ea8f556053c2fd2a53c9f00b4b82f05d4.tar.gz
system/fzf: Updated for version 0.17.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/fzf/fzf.SlackBuild')
-rw-r--r--system/fzf/fzf.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index a37e7a5c3c..638af8f83d 100644
--- a/system/fzf/fzf.SlackBuild
+++ b/system/fzf/fzf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fzf
-# Copyright 2016-2017 Andrew Clemons, Wellington New Zealand
+# Copyright 2016-2018 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.17.3}
+VERSION=${VERSION:-0.17.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -130,6 +130,14 @@ WITH_VIM=${WITH_VIM:-yes}
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
+
+ # neovim support
+ mkdir -p $PKG/usr/share/nvim/runtime/plugin
+ (
+ cd $PKG/usr/share/nvim/runtime
+
+ ln -s ../../../vim/vimfiles/plugin/fzf.vim plugin/fzf.vim
+ )
else
mkdir -p $PKG/usr/share/fzf/vim/
install -m 0644 plugin/fzf.vim $PKG/usr/share/fzf/vim/