summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2020-10-31 12:29:26 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:32 +0700
commit3e807ed6ecc338ff107e7e8a4426f9912d0a89c4 (patch)
tree47ea862bfe0a4531b84c18e95f5b22fa6df0ee4c /system
parent49fa57c13fd6d00e7483c5141e947bf77ed9bd7f (diff)
downloadslackbuilds-3e807ed6ecc338ff107e7e8a4426f9912d0a89c4.tar.gz
system/fzf: Updated for version 0.24.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/fzf/fzf.SlackBuild11
-rw-r--r--system/fzf/fzf.info6
2 files changed, 12 insertions, 5 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index 08bfb55575..31f77f7f99 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.23.1}
+VERSION=${VERSION:-0.24.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,7 +90,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make
+FZF_VERSION="$VERSION" FZF_REVISION="$VERSION" make
mkdir -p $PKG/usr/bin
install -m 0755 target/fzf-linux_* $PKG/usr/bin/fzf
@@ -128,16 +128,23 @@ 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
+ mkdir -p $PKG/usr/share/vim/vimfiles/doc/
+ install -m 0644 doc/fzf.txt $PKG/usr/share/vim/vimfiles/doc/
+
# neovim support
mkdir -p $PKG/usr/share/nvim/runtime/plugin
+ mkdir -p $PKG/usr/share/nvim/runtime/doc
(
cd $PKG/usr/share/nvim/runtime
+
ln -s ../../../vim/vimfiles/plugin/fzf.vim plugin/fzf.vim
+ ln -s ../../../vim/vimfiles/doc/fzf.txt doc/fzf.txt
)
else
mkdir -p $PKG/usr/share/fzf/vim/
install -m 0644 plugin/fzf.vim $PKG/usr/share/fzf/vim/
+ install -m 0644 doc/fzf.txt $PKG/usr/share/fzf/vim/
fi
mkdir -p $PKG/install
diff --git a/system/fzf/fzf.info b/system/fzf/fzf.info
index a064fd82a5..d118fddc42 100644
--- a/system/fzf/fzf.info
+++ b/system/fzf/fzf.info
@@ -1,7 +1,7 @@
PRGNAM="fzf"
-VERSION="0.23.1"
+VERSION="0.24.1"
HOMEPAGE="https://github.com/junegunn/fzf"
-DOWNLOAD="https://github.com/junegunn/fzf/archive/0.23.1/fzf-0.23.1.tar.gz \
+DOWNLOAD="https://github.com/junegunn/fzf/archive/0.24.1/fzf-0.24.1.tar.gz \
https://github.com/gdamore/tcell/archive/v1.3.0/tcell-1.3.0.tar.gz \
https://github.com/lucasb-eyer/go-colorful/archive/v1.0.3/go-colorful-1.0.3.tar.gz \
https://github.com/mattn/go-isatty/archive/v0.0.12/go-isatty-0.0.12.tar.gz \
@@ -13,7 +13,7 @@ DOWNLOAD="https://github.com/junegunn/fzf/archive/0.23.1/fzf-0.23.1.tar.gz \
https://github.com/golang/text/archive/v0.3.2/text-0.3.2.tar.gz \
https://github.com/golang/sync/archive/cd5d95a43a6e21273425c7ae415d3df9ea832eeb/sync-cd5d95a43a6e21273425c7ae415d3df9ea832eeb.tar.gz \
https://github.com/golang/xerrors/archive/a985d3407aa71f30cf86696ee0a2f409709f22e1/xerrors-a985d3407aa71f30cf86696ee0a2f409709f22e1.tar.gz"
-MD5SUM="33fbd278f9301ff0b6641fab5ed2178e \
+MD5SUM="30777ada501f8e63a0446661a9c13552 \
ad4f913e9293c655c5b7cdeba02429e8 \
2a1b88991050673c3928342c11d404ae \
56a6121ba7ae8a13dad2925edd9f11b5 \