chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
858b2fa
)
zsh: Avoid extra binaries
author
Fredrik Fornwall
<fredrik@fornwall.net>
Wed, 9 Sep 2015 14:11:46 +0000
(10:11 -0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Wed, 9 Sep 2015 14:11:46 +0000
(10:11 -0400)
packages/zsh/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/zsh/build.sh
b/packages/zsh/build.sh
index 0ef87ef568e376d1540ec49314070f58cf2f9ffd..8adc8ea70f1d84c023dd77f6f32d9b4268646f7b 100644
(file)
--- a/
packages/zsh/build.sh
+++ b/
packages/zsh/build.sh
@@
-1,6
+1,7
@@
TERMUX_PKG_HOMEPAGE="http://www.zsh.org/"
TERMUX_PKG_DESCRIPTION="Shell designed for interactive use, although it is also a powerful scripting language"
TERMUX_PKG_VERSION=5.1
TERMUX_PKG_HOMEPAGE="http://www.zsh.org/"
TERMUX_PKG_DESCRIPTION="Shell designed for interactive use, although it is also a powerful scripting language"
TERMUX_PKG_VERSION=5.1
+TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://www.zsh.org/pub/zsh-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_RM_AFTER_INSTALL="bin/zsh-${TERMUX_PKG_VERSION}"
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, termux-tools, command-not-found"
TERMUX_PKG_SRCURL=http://www.zsh.org/pub/zsh-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_RM_AFTER_INSTALL="bin/zsh-${TERMUX_PKG_VERSION}"
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, termux-tools, command-not-found"
@@
-9,4
+10,7
@@
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-etcdir=$TERMUX_PREFIX/etc --disable-gd
termux_step_post_make_install () {
# /etc/zshrc - Run for interactive shells (http://zsh.sourceforge.net/Guide/zshguide02.html):
sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|" $TERMUX_PKG_BUILDER_DIR/etc-zshrc > $TERMUX_PREFIX/etc/zshrc
termux_step_post_make_install () {
# /etc/zshrc - Run for interactive shells (http://zsh.sourceforge.net/Guide/zshguide02.html):
sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|" $TERMUX_PKG_BUILDER_DIR/etc-zshrc > $TERMUX_PREFIX/etc/zshrc
+
+ # Remove zsh.new/zsh.old/zsh-$version if any exists:
+ rm -f $TERMUX_PREFIX/{zsh-*,zsh.*}
}
}