diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2017-01-15 23:07:51 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-21 07:04:21 +0700 |
commit | 8651163ead6c0cd405f7597d7ac1a798a7ac8dee (patch) | |
tree | a1a57a8687b9185120f5bd8854b602fadac4c3c6 /system/fzf | |
parent | ca91c1991094ee1e2bedcf46ac2ea325500457f8 (diff) | |
download | slackbuilds-8651163ead6c0cd405f7597d7ac1a798a7ac8dee.tar.gz |
system/fzf: Updated for version 0.16.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/fzf')
-rw-r--r-- | system/fzf/fzf.SlackBuild | 22 | ||||
-rw-r--r-- | system/fzf/fzf.info | 16 |
2 files changed, 24 insertions, 14 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 diff --git a/system/fzf/fzf.info b/system/fzf/fzf.info index 866e1330af..e2e2580cf9 100644 --- a/system/fzf/fzf.info +++ b/system/fzf/fzf.info @@ -1,22 +1,24 @@ PRGNAM="fzf" -VERSION="0.15.9" +VERSION="0.16.0" HOMEPAGE="https://github.com/junegunn/fzf" -DOWNLOAD="https://github.com/junegunn/fzf/archive/0.15.9/fzf-0.15.9.tar.gz \ +DOWNLOAD="https://github.com/junegunn/fzf/archive/0.16.0/fzf-0.16.0.tar.gz \ https://github.com/junegunn/go-shellwords/archive/35d512af75e283aae4ca1fc3d44b159ed66189a4/go-shellwords-35d512af75e283aae4ca1fc3d44b159ed66189a4.tar.gz \ https://github.com/junegunn/go-runewidth/archive/63c378b851290989b19ca955468386485f118c65/go-runewidth-63c378b851290989b19ca955468386485f118c65.tar.gz \ https://github.com/junegunn/go-isatty/archive/66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8/go-isatty-66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8.tar.gz \ - https://github.com/junegunn/tcell/archive/d4838882df49299993d4da46347f39ec6f7eef4a/tcell-d4838882df49299993d4da46347f39ec6f7eef4a.tar.gz \ + https://github.com/junegunn/tcell/archive/44772c121bb7838819d3ba4a7e84c0c2d617328e/tcell-44772c121bb7838819d3ba4a7e84c0c2d617328e.tar.gz \ https://github.com/gdamore/encoding/archive/b23993cbb6353f0e6aa98d0ee318a34728f628b9/encoding-b23993cbb6353f0e6aa98d0ee318a34728f628b9.tar.gz \ https://github.com/lucasb-eyer/go-colorful/archive/9c2852a141bf4711e4276f8f119c90d0f20a556c/go-colorful-9c2852a141bf4711e4276f8f119c90d0f20a556c.tar.gz \ - https://github.com/golang/text/archive/b01949dc0793a9af5e4cb3fce4d42999e76e8ca1/text-b01949dc0793a9af5e4cb3fce4d42999e76e8ca1.tar.gz" -MD5SUM="3687b18a967cde25d82c98509fbfecdf \ + https://github.com/golang/text/archive/f72d8390a633d5dfb0cc84043294db9f6c935756/text-f72d8390a633d5dfb0cc84043294db9f6c935756.tar.gz \ + https://github.com/golang/crypto/archive/2f8be38b9a7533b8763d48273737ff6e90428a96/crypto-2f8be38b9a7533b8763d48273737ff6e90428a96.tar.gz" +MD5SUM="3eb7eec20e672d077f2e092b19d4fac3 \ 7561833225a8b1ae03a16d7d3497841e \ daeeee47b8dc81ec02bcd2d56bf576c9 \ e15b95057201799f455982ce76ff7041 \ - 65b94fc43ab8f433988d86e334816610 \ + 3995f7a041908df543293240d0c15b57 \ 4c6fb2d95929b35e44788924edc56649 \ d318fdeeb33620ef2ba796c94abc502d \ - e0a0791d310ddc4b8c80816830d40014" + e89771fde66e9ecdee2304b341a2fd15 \ + fecb2d5c46e8fb5a8e762b9f71b4f72d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="google-go-lang" |