Ports: Add Beneath a Steel Sky

This commit is contained in:
Jelle Raaijmakers 2021-06-06 23:37:33 +02:00 committed by Andreas Kling
parent 4776c50d5f
commit 5183952d1d
2 changed files with 23 additions and 0 deletions

View file

@ -5,6 +5,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| Port | Name | Version | Website |
|----------------------------------------|------------------------------------------------------------|--------------------------|--------------------------------------------------------------------------------|
| [`bash`](bash/) | GNU Bash | 5.0 | https://www.gnu.org/software/bash/ |
| [`bass`](bass/) | Beneath a Steel Sky | cd-1.2 | https://www.scummvm.org/games |
| [`bc`](bc/) | bc | 2.5.1 | https://github.com/gavinhoward/bc |
| [`binutils`](binutils/) | GNU Binutils | 2.36.1 | https://www.gnu.org/software/binutils/ |
| [`bison`](bison/) | GNU Bison | 1.25 | https://www.gnu.org/software/bison/ |

22
Ports/bass/package.sh Executable file
View file

@ -0,0 +1,22 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=bass
version="cd-1.2"
files="https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip bass-${version}.zip 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593"
auth_type=sha256
depends="scummvm"
bass_resource_path="/usr/local/share/games/${port}-${version}"
launcher_name="Beneath a Steel Sky"
launcher_category=Games
launcher_command="/usr/local/bin/scummvm --path=${bass_resource_path} sky"
build() {
:
}
install() {
target_dir="${SERENITY_INSTALL_ROOT}${bass_resource_path}"
run_nocd mkdir -p ${target_dir}
run_nocd cp ${workdir}/sky.{dnr,dsk} ${target_dir}
}