|
|
@ -1,6 +1,7 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/junegunn/fzf |
|
|
|
TERMUX_PKG_DESCRIPTION="Command-line fuzzy finder" |
|
|
|
TERMUX_PKG_VERSION=0.17.4 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_SHA256=a4b009638266b116f422d159cd1e09df64112e6ae3490964db2cd46636981ff0 |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/junegunn/fzf/archive/${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
TERMUX_PKG_BUILD_IN_SRC="yes" |
|
|
@ -42,8 +43,8 @@ termux_step_make_install () { |
|
|
|
cp $TERMUX_PKG_SRCDIR/man/man1/fzf.1 $TERMUX_PREFIX/share/man/man1/ |
|
|
|
|
|
|
|
# Install the vim plugin: |
|
|
|
mkdir -p $TERMUX_PREFIX/share/vim/vim80/plugin |
|
|
|
cp $TERMUX_PKG_SRCDIR/plugin/fzf.vim $TERMUX_PREFIX/share/vim/vim80/plugin/fzf.vim |
|
|
|
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, zsh and fish helper scripts: |
|
|
|
mkdir -p "$TERMUX_PREFIX/share/fzf" |
|
|
@ -56,5 +57,5 @@ termux_step_make_install () { |
|
|
|
|
|
|
|
termux_step_post_massage () { |
|
|
|
# Remove so that the vim build doesn't add it to vim-runtime: |
|
|
|
rm $TERMUX_PREFIX/share/vim/vim80/plugin/fzf.vim |
|
|
|
rm $TERMUX_PREFIX/share/vim/vim81/plugin/fzf.vim |
|
|
|
} |
|
|
|