Browse Source

fzf: do not install vim plugin as it is already part of vim-runtime

emacs-27
Leonid Plyushch 5 years ago
parent
commit
a0a6dad05b
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 7
      packages/fzf/build.sh

7
packages/fzf/build.sh

@ -2,8 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/junegunn/fzf
TERMUX_PKG_DESCRIPTION="Command-line fuzzy finder"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=0.19.0
TERMUX_PKG_SHA256=4d7ee0b621287e64ed450d187e5022d906aa378c5390d8c7c1f843417d2f3422
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/junegunn/fzf/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4d7ee0b621287e64ed450d187e5022d906aa378c5390d8c7c1f843417d2f3422
# Depend on findutils as fzf uses the -fstype option, which busybox
# find does not support, when invoking find:
@ -43,10 +44,6 @@ termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/share/man/man1/
cp $TERMUX_PKG_SRCDIR/man/man1/fzf.1 $TERMUX_PREFIX/share/man/man1/
# Install the vim plugin:
mkdir -p $TERMUX_PREFIX/share/vim/vim81/plugin
cp $TERMUX_PKG_SRCDIR/plugin/fzf.vim $TERMUX_PREFIX/share/vim/vim81/plugin/fzf.vim
# Install bash completion script:
mkdir -p $TERMUX_PREFIX/share/bash-completion/completions/
cp $TERMUX_PKG_SRCDIR/shell/completion.bash $TERMUX_PREFIX/share/bash-completion/completions/fzf

Loading…
Cancel
Save