ladybird/Ports/zsh/package.sh

21 lines
498 B
Bash
Raw Normal View History

2021-06-05 14:31:13 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
port=zsh
2023-04-18 13:55:23 +03:00
version=5.9
2023-07-10 14:10:29 +03:00
files=(
"https://sourceforge.net/projects/zsh/files/zsh/${version}/zsh-${version}.tar.xz#9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
2023-07-10 14:10:29 +03:00
)
2021-06-05 14:31:13 +03:00
useconfigure=true
use_fresh_config_sub=true
2021-06-05 14:31:13 +03:00
pre_configure() {
run "./Util/preconfig"
}
2023-04-18 13:55:23 +03:00
post_configure() {
run_replace_in_file "s/define HAVE_PRCTL 1/undef HAVE_PRCTL/" config.h
}
post_install() {
cp "${PORT_META_DIR}/zshrc" "${SERENITY_INSTALL_ROOT}/etc/"
}