diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-06-06 23:37:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-07 19:04:57 +0200 |
commit | 5183952d1d556ec43a0ced2290029122e91a85bd (patch) | |
tree | 21db0448dcc5db19fe3da52e776e8982c656c556 | |
parent | 4776c50d5f24b493c2c270edc4765675b80096af (diff) | |
download | serenity-5183952d1d556ec43a0ced2290029122e91a85bd.zip |
Ports: Add Beneath a Steel Sky
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/bass/package.sh | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 546d7a64c0..91cd485277 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 0000000000..db3ed6784e --- /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} +} |