summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2019-08-18 13:52:32 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 08:24:01 +0700
commitc7ffa2bafc9a51821bbfcef9bcb7d18fd0a098a6 (patch)
treef0cf0cc81dd62bb49f36ac12b88b8fd1c9e696a6
parenta6ecaf0f9f0b7cd345f26b9602717a3822bd52e6 (diff)
downloadslackbuilds-c7ffa2bafc9a51821bbfcef9bcb7d18fd0a098a6.tar.gz
system/fzf: Simplify using bash/zsh keybindings.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--system/fzf/fzf.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/fzf/fzf.SlackBuild b/system/fzf/fzf.SlackBuild
index fdb1d74bf4..65f93350f6 100644
--- a/system/fzf/fzf.SlackBuild
+++ b/system/fzf/fzf.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=fzf
VERSION=${VERSION:-0.18.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -114,7 +114,10 @@ cp -a \
BUILD.md CHANGELOG.md LICENSE README-VIM.md README.md shell/key-bindings.zsh shell/key-bindings.bash \
$PKG/usr/doc/$PRGNAM-$VERSION
-chmod 0755 $PKG/usr/doc/$PRGNAM-$VERSION/key-bindings.*
+mkdir -p $PKG/usr/share/fzf
+cp -a \
+ shell/key-bindings.zsh shell/key-bindings.bash \
+ $PKG/usr/share/fzf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild