-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 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.1300
-TERMUX_PKG_SHA256=080e583cbd36900962f032df0d61e89797f6388fc191f32c4f216bae6bcf81a7
+TERMUX_PKG_VERSION=8.0.1650
+TERMUX_PKG_SHA256=1802f79c224e0a2a7b8cb9b516b0daabc916357263dc87c490eee6e1491b5472
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
vim_cv_getcwd_broken=no
--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"
}