2018-11-11 22:34:54 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2023-05-27 01:36:17 +02:00
|
|
|
mkdir zsh-build
|
|
|
|
cd zsh-build
|
2018-11-11 22:34:54 +01:00
|
|
|
|
2023-05-27 01:36:17 +02:00
|
|
|
curl -L https://api.github.com/repos/zsh-users/zsh/tarball/zsh-$TEST_ZSH_VERSION | tar xz --strip=1
|
2024-09-02 22:00:03 +02:00
|
|
|
curl -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=refs/heads/master'
|
|
|
|
curl -o config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
|
2018-11-11 22:34:54 +01:00
|
|
|
|
2023-05-27 01:36:17 +02:00
|
|
|
./Util/preconfig
|
|
|
|
./configure --enable-pcre \
|
|
|
|
--enable-cap \
|
|
|
|
--enable-multibyte \
|
|
|
|
--with-term-lib='ncursesw tinfo' \
|
|
|
|
--with-tcsetpgrp
|
2018-11-11 22:34:54 +01:00
|
|
|
|
2023-05-27 01:36:17 +02:00
|
|
|
make install.bin
|
|
|
|
make install.modules
|
|
|
|
make install.fns
|
2018-11-11 22:34:54 +01:00
|
|
|
|
2023-05-27 01:36:17 +02:00
|
|
|
cd ..
|
2018-11-11 22:34:54 +01:00
|
|
|
|
2023-05-27 01:36:17 +02:00
|
|
|
rm -rf zsh-build
|