diff options
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/sfinx/package.sh | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 7976e97ef0..ae7f27baf4 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -140,6 +140,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`SDL2_net`](SDL2_net/) | SDL2\_net (network add-on for SDL2) | 2.0.1 | https://www.libsdl.org/projects/SDL_net/ | | [`SDL2_ttf`](SDL2_ttf/) | SDL2\_ttf (TrueType Font add-on for SDL2) | 2.0.15 | https://www.libsdl.org/projects/SDL_ttf/ | | [`sed`](sed/) | GNU sed | 4.2.1 | https://www.gnu.org/software/sed/ | +| [`sfinx`](sfinx/) | Sfinx | 1.1 | https://www.scummvm.org/games/#games-sfinx | | [`sl`](sl/) | Steam Locomotive (SL) | | https://github.com/mtoyoda/sl | | [`sqlite`](sqlite/) | SQLite | 3350500 | https://www.sqlite.org/ | | [`stpuzzles`](stpuzzles/) | Simon Tatham's Portable Puzzle Collection | | https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ | 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} +} |