|
|
@ -1,6 +1,7 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.zsh.org |
|
|
|
TERMUX_PKG_DESCRIPTION="Shell with lots of features" |
|
|
|
TERMUX_PKG_VERSION=5.6.2 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_SHA256=a50bd66c0557e8eca3b8fa24e85d0de533e775d7a22df042da90488623752e9e |
|
|
|
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/zsh-${TERMUX_PKG_VERSION}.tar.xz |
|
|
|
# Remove hard link to bin/zsh as Android does not support hard links: |
|
|
@ -29,7 +30,8 @@ termux_step_post_configure () { |
|
|
|
# - The system module is needed by zplug (https://github.com/termux/termux-packages/issues/659). |
|
|
|
# - 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). |
|
|
|
for module in files regex curses zprof socket system deltochar mathfunc zpty pcre stat; do |
|
|
|
# - 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 |
|
|
|
perl -p -i -e "s|${module}.mdd link=no|${module}.mdd link=static|" $TERMUX_PKG_BUILDDIR/config.modules |
|
|
|
done |
|
|
|
} |
|
|
|