mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
492f7132d2
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
21 lines
796 B
Bash
Executable file
21 lines
796 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=bash
|
|
version=5.0
|
|
useconfigure=true
|
|
configopts="--disable-nls --without-bash-malloc"
|
|
files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz
|
|
https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz.sig bash-${version}.tar.gz.sig
|
|
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
|
auth_type="sig"
|
|
auth_opts="--keyring ./gnu-keyring.gpg bash-${version}.tar.gz.sig"
|
|
|
|
build() {
|
|
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h
|
|
run_replace_in_file "s/define CAN_REDEFINE_GETENV 1/undef CAN_REDEFINE_GETENV/" config.h
|
|
run make $makeopts
|
|
}
|
|
|
|
post_install() {
|
|
mkdir -p "${SERENITY_INSTALL_ROOT}/bin"
|
|
ln -sf /usr/local/bin/bash "${SERENITY_INSTALL_ROOT}/bin/bash"
|
|
}
|