mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
Ports: Add ScummVM game Sfinx
This commit is contained in:
parent
caca5b0b3e
commit
d84102de99
|
@ -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/ |
|
||||
|
|
23
Ports/sfinx/package.sh
Executable file
23
Ports/sfinx/package.sh
Executable file
|
@ -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}
|
||||
}
|
Loading…
Reference in a new issue