Update openttd, openttd_gfx, openttd_sfx, openttd_msx (#7052)

* Update openttd, openttd_gfx, openttd_sfx, openttd_msx
This commit is contained in:
Thanson16
2022-07-22 10:23:25 -05:00
committed by GitHub
parent 13cda85779
commit ec11f03b3a
4 changed files with 36 additions and 52 deletions

View File

@@ -9,11 +9,11 @@ This package provides free to use graphics file. You can use them if you \
don't have the files from the original Transport Tycoon Deluxe game.
"
HOMEPAGE="http://www.openttd.org"
COPYRIGHT="2005-2013 OpenTTD Team"
COPYRIGHT="2005-2022 OpenTTD Team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://bundles.openttdcoop.org/opengfx/releases/$portVersion/opengfx-$portVersion.zip#noarchive"
CHECKSUM_SHA256="3d136d776906dbe8b5df1434cb9a68d1249511a3c4cfaca55cc24cc0028ae078"
SOURCE_URI="https://cdn.openttd.org/opengfx-releases/$portVersion/opengfx-$portVersion-all.zip#noarchive"
CHECKSUM_SHA256="928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846"
ARCHITECTURES="any"
@@ -22,20 +22,17 @@ PROVIDES="
"
BUILD_PREREQUIRES="
cmd:tar
cmd:unzip
"
BUILD()
{
rm -Rf opengfx-$portVersion
unzip -o opengfx-$portVersion.zip
tar xvf opengfx-$portVersion.tar
rm opengfx-$portVersion.tar
unzip -o opengfx-$portVersion-all.zip
rm opengfx-$portVersion-all.zip
}
INSTALL()
{
mkdir -p $dataDir/openttd/baseset/opengfx
cp opengfx-$portVersion/* $dataDir/openttd/baseset/opengfx
mkdir -p $dataDir/openttd/baseset
cp opengfx-$portVersion.tar $dataDir/openttd/baseset/
}