diff --git a/packages/zsh/build.sh b/packages/zsh/build.sh index 26cb2374f..a6ed7c679 100644 --- a/packages/zsh/build.sh +++ b/packages/zsh/build.sh @@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.zsh.org TERMUX_PKG_DESCRIPTION="Shell with lots of features" TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_VERSION=5.8 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/zsh-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=dcc4b54cc5565670a65581760261c163d720991f0d06486da61f8d839b52de27 # Remove hard link to bin/zsh as Android does not support hard links: @@ -37,7 +38,10 @@ termux_step_post_configure() { # - The zpty module is needed by zsh-async (https://github.com/termux/termux-packages/issues/672). # - The stat module is needed by zui (https://github.com/termux/termux-packages/issues/2829). # - The mapfile module was requested in https://github.com/termux/termux-packages/issues/3116. - for module in files regex curses zprof socket system deltochar mathfunc zpty pcre stat mapfile; do + # - The zselect module is used by multiple plugins (https://github.com/termux/termux-packages/issues/4939) + for module in \ + curses deltochar files mapfile mathfunc pcre regex socket stat system zprof zpty zselect + do perl -p -i -e "s|${module}.mdd link=no|${module}.mdd link=static|" $TERMUX_PKG_BUILDDIR/config.modules done }