2018-11-12 05:34:54 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2023-05-27 07:36:17 +08:00
|
|
|
mkdir zsh-build
|
|
|
|
cd zsh-build
|
2018-11-12 05:34:54 +08:00
|
|
|
|
2023-05-27 07:36:17 +08:00
|
|
|
curl -L https://api.github.com/repos/zsh-users/zsh/tarball/zsh-$TEST_ZSH_VERSION | tar xz --strip=1
|
2018-11-12 05:34:54 +08:00
|
|
|
|
2023-05-27 07:36:17 +08:00
|
|
|
./Util/preconfig
|
|
|
|
./configure --enable-pcre \
|
|
|
|
--enable-cap \
|
|
|
|
--enable-multibyte \
|
|
|
|
--with-term-lib='ncursesw tinfo' \
|
|
|
|
--with-tcsetpgrp
|
2018-11-12 05:34:54 +08:00
|
|
|
|
2023-05-27 07:36:17 +08:00
|
|
|
make install.bin
|
|
|
|
make install.modules
|
|
|
|
make install.fns
|
2018-11-12 05:34:54 +08:00
|
|
|
|
2023-05-27 07:36:17 +08:00
|
|
|
cd ..
|
2018-11-12 05:34:54 +08:00
|
|
|
|
2023-05-27 07:36:17 +08:00
|
|
|
rm -rf zsh-build
|