pkg download command and patches

This commit is contained in:
2026-09-10 16:59:11 +03:00
parent c6dcbc1ca5
commit 998417a605
110 changed files with 1582 additions and 332 deletions

View File

@ -2,12 +2,12 @@ zsh 5.9.0.2
=
https://github.com/zsh-users/zsh/archive/refs/tags/zsh-5.9.0.2-test.tar.gz
``` sh *** build ***
autoreconf --install
./configure \
--prefix=/pkg/gnu/zsh \
--enable-etcdir=/pkg/gnu/zsh/etc \
--enable-additional-fpath=/pkg/gnu/share/zsh/site-functions \
--enable-multibyte \
--enable-pcre \
--enable-cap
@ -17,6 +17,7 @@ make install.bin install.modules install.fns
``` sh *** config ***
mkdir -p /pkg/gnu/zsh/etc
cat > /pkg/gnu/zsh/etc/zprofile << 'EOF'
if [ -d /pkg/gnu/s6/etc/envdir ]; then
for f in /pkg/gnu/s6/etc/envdir/*; do
@ -24,5 +25,15 @@ if [ -d /pkg/gnu/s6/etc/envdir ]; then
done
fi
EOF
echo "PROMPT='[%n@%m %~]$ '\nalias ls='ls --color=auto'\nsetopt no_hup\nsetopt no_checkjobs\nsetopt RM_STAR_SILENT" > /pkg/gnu/zsh/etc/zshrc
cat > /pkg/gnu/zsh/etc/zshrc << 'EOF'
autoload -Uz compinit && compinit
for f in /pkg/gnu/share/zsh/zshrc-auto.d/*.zsh(N); do
. "$f"
done
PROMPT='[%n@%m %~]$ '
setopt NO_HUP NO_CHECKJOBS RM_STAR_SILENT
EOF
```