Updated to `Bash 5.2.0`

This commit is contained in:
RVG|lory 2023-04-08 09:52:41 +02:00 committed by GitHub
parent 86d897d580
commit 314a96a8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 0 deletions

20
packages/bash/5.2.0/build.sh vendored Normal file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Put instructions to build your package in here
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "https://ftp.gnu.org/gnu/bash/bash-5.2.tar.gz" -o bash.tar.gz
tar xzf bash.tar.gz --strip-components=1
# === autoconf based ===
./configure --prefix "$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ../
rm -rf build

4
packages/bash/5.2.0/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

5
packages/bash/5.2.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "bash",
"version": "5.2.0",
"aliases": ["sh"]
}

4
packages/bash/5.2.0/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
bash "$@"

1
packages/bash/5.2.0/test.bash.sh vendored Normal file
View File

@ -0,0 +1 @@
echo "OK"