summaryrefslogtreecommitdiff
path: root/Ports/sfinx/package.sh
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2021-07-20 10:00:15 -0700
committerGunnar Beutner <gunnar@beutner.name>2021-07-22 22:30:55 +0200
commitd84102de99fc6c11207da46909b71e5d94ff358d (patch)
treec18bb75a040b8beeed4d18b3956af18c00b07cc9 /Ports/sfinx/package.sh
parentcaca5b0b3e4342ec114658eca93b8201da297171 (diff)
downloadserenity-d84102de99fc6c11207da46909b71e5d94ff358d.zip
Ports: Add ScummVM game Sfinx
Diffstat (limited to 'Ports/sfinx/package.sh')
-rwxr-xr-xPorts/sfinx/package.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ports/sfinx/package.sh b/Ports/sfinx/package.sh
new file mode 100755
index 0000000000..6ee2d4c4e6
--- /dev/null
+++ b/Ports/sfinx/package.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=sfinx
+version="1.1"
+files="https://downloads.scummvm.org/frs/extras/Sfinx/sfinx-en-v1.1.zip ${port}-en-v${version}.zip f516b30a046526f78cbc923d8f907d267ab964ccd9b770afc72350e8d467ec4d"
+auth_type=sha256
+depends="scummvm"
+workdir="${port}-en-v${version}"
+
+resource_path="/usr/local/share/games/${port}-${version}"
+
+launcher_name="Sfinx"
+launcher_category=Games
+launcher_command="/usr/local/bin/scummvm --path=${resource_path} sfinx"
+
+build() {
+ :
+}
+
+install() {
+ target_dir="${SERENITY_INSTALL_ROOT}${resource_path}"
+ run_nocd mkdir -p ${target_dir}
+ run_nocd cp ${workdir}/* ${target_dir}
+}