From d84102de99fc6c11207da46909b71e5d94ff358d Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Tue, 20 Jul 2021 10:00:15 -0700 Subject: Ports: Add ScummVM game Sfinx --- Ports/sfinx/package.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 Ports/sfinx/package.sh (limited to 'Ports/sfinx') 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} +} -- cgit v1.2.3