Ports: Add ScummVM game Hi-Res Adventure #1: Mystery House
This commit is contained in:
parent
bcd96df2ac
commit
281cff7845
Notes:
sideshowbarker
2024-07-18 08:32:41 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/281cff78450 Pull-request: https://github.com/SerenityOS/serenity/pull/8901
2 changed files with 32 additions and 0 deletions
|
@ -90,6 +90,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`mbedtls`](mbedtls/) | Mbed TLS | 2.16.2 | https://tls.mbed.org/ |
|
||||
| [`milkytracker`](milkytracker/) | milkytracker | 1.03.00 | https://github.com/milkytracker/MilkyTracker |
|
||||
| [`mrsh`](mrsh/) | mrsh | d9763a3 | https://mrsh.sh/ |
|
||||
| [`mysthous`](mysthous/) | Hi-Res Adventure #1: Mystery House | 1.0 | https://www.scummvm.org/games/#games-hires1 |
|
||||
| [`nano`](nano/) | GNU nano | 5.8 | https://www.nano-editor.org/ |
|
||||
| [`nasm`](nasm/) | Netwide Assembler (NASM) | 2.15.05 | https://www.nasm.us/ |
|
||||
| [`ncurses`](ncurses/) | ncurses | 6.2 | https://invisible-island.net/ncurses/announce.html |
|
||||
|
|
31
Ports/mysthous/package.sh
Executable file
31
Ports/mysthous/package.sh
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=mysthous
|
||||
version="1.0"
|
||||
files="https://downloads.scummvm.org/frs/extras/Mystery%20House/MYSTHOUS.zip ${port}-${version}.zip ada412228a149394489b28c6c7f9ebab0722b52e04732fd0aa22949673cfa3a0"
|
||||
auth_type=sha256
|
||||
depends="scummvm"
|
||||
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Hi-Res Adventure #1: Mystery House"
|
||||
launcher_category=Games
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} hires1-apple2"
|
||||
|
||||
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 cp ${workdir}/MYSTHOUS.DSK ${target_dir}
|
||||
}
|
Loading…
Add table
Reference in a new issue