openttf_gfx: bump version.

* the archive format has changed: a zip file containing a tar file.
This commit is contained in:
Jerome Duval
2015-05-12 18:13:34 +00:00
parent 5f2c063231
commit 04d688e45a

View File

@@ -9,14 +9,13 @@ 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"
SRC_URI="http://binaries.openttd.org/extra/opengfx/$portVersion/opengfx-$portVersion-all.zip"
CHECKSUM_SHA256="10032c683f98b4d378c0651118a4858ae6d3f0a5059302dc3f96bfbfcdc67241"
SRC_URI="http://binaries.openttd.org/extra/opengfx/$portVersion/opengfx-$portVersion-all.zip#noarchive"
CHECKSUM_SHA256="19be61f1cb04cbb3cb9602f0b8eb6e6f56ecbefbfdd6e0e03f9579e5a5c1cbc8"
COPYRIGHT="2005-2013 OpenTTD Team"
LICENSE="GNU GPL v2"
REVISION="1"
ARCHITECTURES="any"
SOURCE_DIR="opengfx-$portVersion"
PROVIDES="
openttd_gfx = $portVersion
"
@@ -27,18 +26,23 @@ PROVIDES="
#BUILD_REQUIRES="
# "
#BUILD_PREREQUIRES="
# "
BUILD_PREREQUIRES="
cmd:tar
cmd:unzip
"
BUILD()
{
true
rm -Rf opengfx-$portVersion
unzip -o opengfx-$portVersion-all.zip
tar xvf opengfx-$portVersion.tar
rm opengfx-$portVersion.tar
}
INSTALL()
{
mkdir -p $dataDir/openttd/baseset/opengfx
cp * $dataDir/openttd/baseset/opengfx
cp opengfx-$portVersion/* $dataDir/openttd/baseset/opengfx
}
# no TEST script available