Files
haikuports/games-simulation/openttd_gfx/openttd_gfx-0.5.2.recipe
2015-07-02 11:13:12 -04:00

49 lines
1.1 KiB
Bash

SUMMARY="OpenTTD - free graphics files"
DESCRIPTION="
OpenTTD is an open source simulation game based upon the popular Microprose \
game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to \
mimic the original game as closely as possible while extending it with new \
features.
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"
SOURCE_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"
PROVIDES="
openttd_gfx = $portVersion
"
#REQUIRES="
# "
#BUILD_REQUIRES="
# "
BUILD_PREREQUIRES="
cmd:tar
cmd:unzip
"
BUILD()
{
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 opengfx-$portVersion/* $dataDir/openttd/baseset/opengfx
}
# no TEST script available