mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Update openttd, openttd_gfx, openttd_sfx, openttd_msx (#7052)
* Update openttd, openttd_gfx, openttd_sfx, openttd_msx
This commit is contained in:
@@ -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/
|
||||
}
|
||||
Reference in New Issue
Block a user