Ports: Add ScummVM game DreamWeb
This commit is contained in:
parent
59e303cc54
commit
8853d94032
Notes:
sideshowbarker
2024-07-18 08:32:34 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/8853d940325 Pull-request: https://github.com/SerenityOS/serenity/pull/8901
2 changed files with 32 additions and 0 deletions
|
@ -27,6 +27,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`doom`](doom/) | DOOM | | https://github.com/SerenityOS/SerenityDOOM |
|
||||
| [`dosbox-staging`](dosbox-staging/) | DOSBox Staging | 0.76.0 | https://dosbox-staging.github.io/ |
|
||||
| [`drascula`](drascula/) | Dráscula: The Vampire Strikes Back | 1.0 | https://www.scummvm.org/games/#games-drascula |
|
||||
| [`dreamweb`](dreamweb/) | DreamWeb | 1.1 | https://www.scummvm.org/games/#games-dreamweb |
|
||||
| [`dropbear`](dropbear/) | Dropbear SSH | 2019.78 | https://dropbear.nl/mirror/dropbear.html |
|
||||
| [`dungeonrush`](dungeonrush/) | DungeonRush | 1.1-beta | https://github.com/Rapiz1/DungeonRush |
|
||||
| [`ed`](ed/) | GNU ed | 1.15 | https://www.gnu.org/software/ed/ |
|
||||
|
|
31
Ports/dreamweb/package.sh
Executable file
31
Ports/dreamweb/package.sh
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=dreamweb
|
||||
version="1.1"
|
||||
files="https://downloads.scummvm.org/frs/extras/Dreamweb/dreamweb-cd-uk-1.1.zip ${port}-${version}.zip 4a6f13911ce67d62c526e41048ec067b279f1b378c9210f39e0ce8d3f2b80142"
|
||||
auth_type=sha256
|
||||
depends="scummvm"
|
||||
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="DreamWeb"
|
||||
launcher_category=Games
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} dreamweb"
|
||||
|
||||
build() {
|
||||
:
|
||||
}
|
||||
|
||||
pre_fetch() {
|
||||
run_nocd mkdir -p ${workdir}
|
||||
}
|
||||
|
||||
post_fetch() {
|
||||
run_nocd rsync -a ./* ${workdir} --exclude=${workdir} --exclude=package.sh --exclude=${port}-${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 rsync -a ${workdir}/* ${target_dir}
|
||||
}
|
Loading…
Add table
Reference in a new issue