summaryrefslogtreecommitdiff
path: root/Ports/bass/package.sh
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-06-06 23:37:33 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-07 19:04:57 +0200
commit5183952d1d556ec43a0ced2290029122e91a85bd (patch)
tree21db0448dcc5db19fe3da52e776e8982c656c556 /Ports/bass/package.sh
parent4776c50d5f24b493c2c270edc4765675b80096af (diff)
downloadserenity-5183952d1d556ec43a0ced2290029122e91a85bd.zip
Ports: Add Beneath a Steel Sky
Diffstat (limited to 'Ports/bass/package.sh')
-rwxr-xr-xPorts/bass/package.sh22
1 files changed, 22 insertions, 0 deletions
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}
+}