Added zsh

This commit is contained in:
Alexander Hill
2026-01-14 20:43:02 -05:00
parent 0be39e0a35
commit 4bbf8d9566
4 changed files with 21 additions and 2 deletions

18
sources/zsh/zsh.spec Normal file
View File

@@ -0,0 +1,18 @@
# Maintainer: Alexander Hill
SRC_HASH="9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
SRC_NAME="zsh"
SRC_URL="https://www.zsh.org/pub/zsh-5.9.tar.xz"
SRC_VERSION="5.9"
build() {
tar xf ../$SRC_FILENAME
cd zsh-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON --enable-multibyte --enable-libc-musl
make -O -j $TT_PROCS
}
package() {
cd zsh-$SRC_VERSION/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
ln -sf zsh $TT_INSTALLDIR/bin/bash
}