From 86053f6ed550d9e9987f422a9504262473fb56dd Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 15 Jan 2016 10:15:01 -0500 Subject: [PATCH] fzf: Clean up and delete fzf.vim after install --- packages/fzf/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/fzf/build.sh b/packages/fzf/build.sh index 6bb6ed628..58265d357 100644 --- a/packages/fzf/build.sh +++ b/packages/fzf/build.sh @@ -37,9 +37,14 @@ termux_step_make_install () { # Install the vim 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: mkdir -p $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 +}