diff --git a/games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe b/games-simulation/openttd_gfx/openttd_gfx-0.5.2.recipe similarity index 69% rename from games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe rename to games-simulation/openttd_gfx/openttd_gfx-0.5.2.recipe index b7e9b638b..b9f1bf927 100644 --- a/games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe +++ b/games-simulation/openttd_gfx/openttd_gfx-0.5.2.recipe @@ -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