Browse Source

fzf: Clean up and delete fzf.vim after install

android-5
Fredrik Fornwall 9 years ago
parent
commit
86053f6ed5
  1. 7
      packages/fzf/build.sh

7
packages/fzf/build.sh

@ -37,9 +37,14 @@ termux_step_make_install () {
# Install the vim plugin: # Install the vim plugin:
mkdir -p $TERMUX_PREFIX/share/vim/vim74/plugin mkdir -p $TERMUX_PREFIX/share/vim/vim74/plugin
cp $TERMUX_PKG_SRCDIR/plugin/fzf.vim $TERMUX_PREFIX/share/vim/vim74/plugin cp $TERMUX_PKG_SRCDIR/plugin/fzf.vim $TERMUX_PREFIX/share/vim/vim74/plugin/fzf.vim
# Install the nvim plugin: # Install the nvim plugin:
mkdir -p $TERMUX_PREFIX/share/nvim/runtime/plugin mkdir -p $TERMUX_PREFIX/share/nvim/runtime/plugin
cp $TERMUX_PKG_SRCDIR/plugin/fzf.vim $TERMUX_PREFIX/share/nvim/runtime/plugin/ cp $TERMUX_PKG_SRCDIR/plugin/fzf.vim $TERMUX_PREFIX/share/nvim/runtime/plugin/
} }
termux_step_post_make_install () {
# Remove so that the vim build doesn't add it to vim-runtime:
rm $TERMUX_PREFIX/share/vim/vim74/plugin/fzf.vim
}

Loading…
Cancel
Save