mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Ports: Add openttd
This commit is contained in:
parent
4b33365078
commit
ae32abffe9
Notes:
sideshowbarker
2024-07-18 19:11:32 +09:00
Author: https://github.com/gunnarbeutner
Commit: ae32abffe9
Pull-request: https://github.com/SerenityOS/serenity/pull/6492
Reviewed-by: https://github.com/linusg
8 changed files with 244 additions and 0 deletions
16
Ports/openttd-opengfx/package.sh
Executable file
16
Ports/openttd-opengfx/package.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=openttd-opengfx
|
||||
version=0.6.1
|
||||
workdir=.
|
||||
files="https://cdn.openttd.org/opengfx-releases/${version}/opengfx-${version}-all.zip opengfx-${version}-all.zip c694a112cd508d9c8fdad1b92bde05e7c48b14d66bad0c3999e443367437e37e"
|
||||
auth_type=sha256
|
||||
|
||||
build() {
|
||||
# The ZIP file we downloaded contains a tarball.
|
||||
run_nocd tar xf opengfx-${version}.tar
|
||||
}
|
||||
|
||||
install() {
|
||||
run_nocd mkdir -p ${SERENITY_INSTALL_ROOT}/usr/local/share/games/openttd/baseset/
|
||||
run_nocd cp -a opengfx-${version}/* ${SERENITY_INSTALL_ROOT}/usr/local/share/games/openttd/baseset/
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue