X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/32f0cfc67a80b383c58e1147b3b0cb8aa5549426..583bff4c86a3f3b7d0ae38d17d9ee8b3751ad43b:/packages/vim-python/build.sh diff --git a/packages/vim-python/build.sh b/packages/vim-python/build.sh index 7034c209..c09f2d07 100755 --- a/packages/vim-python/build.sh +++ b/packages/vim-python/build.sh @@ -1,18 +1,17 @@ -TERMUX_PKG_DESCRIPTION="Vi IMproved - enhanced vi editor" TERMUX_PKG_HOMEPAGE=http://www.vim.org/ +TERMUX_PKG_DESCRIPTION="Vi IMproved - enhanced vi editor" TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python" - -# Vim 8.0 patches described at ftp://ftp.vim.org/pub/vim/patches/8.0/README -TERMUX_PKG_VERSION=8.0.1013 -TERMUX_PKG_SHA256=f816827073fecd0315aae149f7d48997a2a196e43fbbaf680b6b6025c4188600 +# vim should only be updated every 50 releases on multiples of 50. +# Update both vim and vim-python to the same version in one PR. +TERMUX_PKG_VERSION=8.0.1450 +TERMUX_PKG_SHA256=9d5294c592784213e6ac653cf228702ce59905b26e58cf4a01993d6264e1e774 TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz" -TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION} TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" vim_cv_getcwd_broken=no vim_cv_memmove_handles_overlap=yes vim_cv_stat_ignores_slash=no vim_cv_terminfo=yes -vim_cv_tgent=zero +vim_cv_tgetent=zero vim_cv_toupper_broken=no vim_cv_tty_group=world --enable-gui=no @@ -20,7 +19,6 @@ vim_cv_tty_group=world --with-features=huge --without-x --with-tlib=ncursesw ---enable-terminal " TERMUX_PKG_BUILD_IN_SRC="yes" TERMUX_PKG_RM_AFTER_INSTALL=" @@ -44,6 +42,8 @@ vi_cv_var_python3_version=3.6 --with-python3-config-dir=$TERMUX_PREFIX/lib/python3.6/config-3.6m/ " TERMUX_PKG_DESCRIPTION+=" - with python support" +# Remove share/vim/vim80 which is in vim-runtime built as a subpackage of vim: +TERMUX_PKG_RM_AFTER_INSTALL+=" share/vim/vim80" termux_step_pre_configure() { CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.6m" }