mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
Ports: Add ScummVM game Soltys
This commit is contained in:
parent
d84102de99
commit
cc45ccbd9b
Notes:
sideshowbarker
2024-07-18 08:32:20 +09:00
Author: https://github.com/kennethmyhra
Commit: cc45ccbd9b
Pull-request: https://github.com/SerenityOS/serenity/pull/8901
2 changed files with 32 additions and 0 deletions
|
@ -142,6 +142,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
||||||
| [`sed`](sed/) | GNU sed | 4.2.1 | https://www.gnu.org/software/sed/ |
|
| [`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 |
|
| [`sfinx`](sfinx/) | Sfinx | 1.1 | https://www.scummvm.org/games/#games-sfinx |
|
||||||
| [`sl`](sl/) | Steam Locomotive (SL) | | https://github.com/mtoyoda/sl |
|
| [`sl`](sl/) | Steam Locomotive (SL) | | https://github.com/mtoyoda/sl |
|
||||||
|
| [`soltys`](soltys/) | Soltys | 1.0 | https://www.scummvm.org/games/#games-soltys |
|
||||||
| [`sqlite`](sqlite/) | SQLite | 3350500 | https://www.sqlite.org/ |
|
| [`sqlite`](sqlite/) | SQLite | 3350500 | https://www.sqlite.org/ |
|
||||||
| [`stpuzzles`](stpuzzles/) | Simon Tatham's Portable Puzzle Collection | | https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ |
|
| [`stpuzzles`](stpuzzles/) | Simon Tatham's Portable Puzzle Collection | | https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ |
|
||||||
| [`stress-ng`](stress-ng/) | stress-ng | 0.11.23 | https://github.com/ColinIanKing/stress-ng |
|
| [`stress-ng`](stress-ng/) | stress-ng | 0.11.23 | https://github.com/ColinIanKing/stress-ng |
|
||||||
|
|
31
Ports/soltys/package.sh
Executable file
31
Ports/soltys/package.sh
Executable file
|
@ -0,0 +1,31 @@
|
||||||
|
#!/usr/bin/env -S bash ../.port_include.sh
|
||||||
|
port=soltys
|
||||||
|
version="1.0"
|
||||||
|
files="https://downloads.scummvm.org/frs/extras/Soltys/soltys-en-v1.0.zip ${port}-en-v${version}.zip 87b89e654b8a5b8ebe342cb4c5c6049ab9a43a5efb474d9c49bafb77dcce48f6"
|
||||||
|
auth_type=sha256
|
||||||
|
depends="scummvm"
|
||||||
|
|
||||||
|
resource_path="/usr/local/share/games/${port}-${version}"
|
||||||
|
|
||||||
|
launcher_name="Soltys"
|
||||||
|
launcher_category=Games
|
||||||
|
launcher_command="/usr/local/bin/scummvm --path=${resource_path} soltys"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_fetch() {
|
||||||
|
run_nocd mkdir -p ${workdir}
|
||||||
|
}
|
||||||
|
|
||||||
|
post_fetch() {
|
||||||
|
run_nocd rsync -a ./* ${workdir} --exclude=package.sh --exclude=${workdir} --exclude=${port}-en-v${version}.zip --remove-source-files
|
||||||
|
run_nocd find . -depth -type d -empty -delete
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
target_dir="${SERENITY_INSTALL_ROOT}${resource_path}"
|
||||||
|
run_nocd mkdir -p ${target_dir}
|
||||||
|
run_nocd cp ${workdir}/* ${target_dir}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue