diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 546d7a64c09..91cd4852777 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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/ | diff --git a/Ports/bass/package.sh b/Ports/bass/package.sh new file mode 100755 index 00000000000..db3ed6784e3 --- /dev/null +++ b/Ports/bass/package.sh @@ -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} +}