2021-04-17 13:40:17 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=openttd-opengfx
|
2022-04-05 20:27:01 +00:00
|
|
|
version=7.1
|
2021-04-17 13:40:17 +00:00
|
|
|
workdir=.
|
2022-04-05 20:27:01 +00:00
|
|
|
files="https://cdn.openttd.org/opengfx-releases/${version}/opengfx-${version}-all.zip opengfx-${version}-all.zip 928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846"
|
2021-04-17 13:40:17 +00:00
|
|
|
|
|
|
|
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/
|
|
|
|
}
|