Ports: Add ScummVM game Lure of the Temptress

This commit is contained in:
Kenneth Myhra 2021-07-20 08:48:09 -07:00 committed by Gunnar Beutner
parent 8853d94032
commit 924930f357
2 changed files with 24 additions and 0 deletions

View file

@ -85,6 +85,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`links`](links/) | Links web browser | 2.22 | http://links.twibright.com/ |
| [`llvm`](llvm/) | LLVM | 12.0.0 | http://llvm.org/ |
| [`lua`](lua/) | Lua | 5.3.5 | https://www.lua.org/ |
| [`lure`](lure/) | Lure of the Temptress | 1.1 | https://www.scummvm.org/games/#games-lure |
| [`m4`](m4/) | GNU M4 | 1.4.9 | https://www.gnu.org/software/m4/ |
| [`make`](make/) | GNU make | 4.3 | https://www.gnu.org/software/make/ |
| [`mandoc`](mandoc/) | mandoc | 1.14.5 | https://mandoc.bsd.lv/ |

23
Ports/lure/package.sh Executable file
View file

@ -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}
}