zsh: Update from 5.6.1 to 5.6.2

Also enable the zsh/stat module (#2829).
This commit is contained in:
Fredrik Fornwall 2018-09-15 21:58:37 +02:00
parent 1d0f650d4a
commit 628dc15b14
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://www.zsh.org
TERMUX_PKG_DESCRIPTION="Shell with lots of features"
TERMUX_PKG_VERSION=5.6.1
TERMUX_PKG_SHA256=9566753f317d31b808b6b63a5622c71f25d473a6b5fea5c35ab1c7ed96fbb3e8
TERMUX_PKG_VERSION=5.6.2
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:
TERMUX_PKG_RM_AFTER_INSTALL="bin/zsh-${TERMUX_PKG_VERSION}"
@ -27,8 +27,9 @@ termux_step_post_configure () {
# - The curses, socket and zprof modules was desired by BrainDamage on IRC (#termux).
# - The deltochar and mathfunc modules is used by grml-zshrc (https://github.com/termux/termux-packages/issues/494).
# - The system module is needed by zplug (https://github.com/termux/termux-packages/issues/659).
# - The zpty is needed by zsh-async (https://github.com/termux/termux-packages/issues/672).
for module in files regex curses zprof socket system deltochar mathfunc zpty pcre; do
# - 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
perl -p -i -e "s|${module}.mdd link=no|${module}.mdd link=static|" $TERMUX_PKG_BUILDDIR/config.modules
done
}