summaryrefslogtreecommitdiff
path: root/Ports/lure/package.sh
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2021-07-20 08:48:09 -0700
committerGunnar Beutner <gunnar@beutner.name>2021-07-22 22:30:55 +0200
commit924930f357953d0cba32b56fb69f5044abdafd8c (patch)
tree6e7ce5b493953cd17aad139a1263796799923865 /Ports/lure/package.sh
parent8853d9403252870af339d04d06557e4581e4c1ea (diff)
downloadserenity-924930f357953d0cba32b56fb69f5044abdafd8c.zip
Ports: Add ScummVM game Lure of the Temptress
Diffstat (limited to 'Ports/lure/package.sh')
-rwxr-xr-xPorts/lure/package.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ports/lure/package.sh b/Ports/lure/package.sh
new file mode 100755
index 0000000000..9f44c4932b
--- /dev/null
+++ b/Ports/lure/package.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=lure
+version="1.1"
+files="https://downloads.scummvm.org/frs/extras/Lure%20of%20the%20Temptress/lure-1.1.zip ${port}-${version}.zip f3178245a1483da1168c3a11e70b65d33c389f1f5df63d4f3a356886c1890108"
+auth_type=sha256
+depends="scummvm"
+workdir="lure"
+
+resource_path="/usr/local/share/games/${port}-${version}"
+
+launcher_name="Lure of the Temptress"
+launcher_category=Games
+launcher_command="/usr/local/bin/scummvm --path=${resource_path} lure"
+
+build() {
+ :
+}
+
+install() {
+ target_dir="${SERENITY_INSTALL_ROOT}${resource_path}"
+ run_nocd mkdir -p ${target_dir}
+ run_nocd cp ${workdir}/* ${target_dir}
+}