0
0
Fork 0
haikuports/games-simulation/openttd_gfx/openttd_gfx-0.5.4.recipe

42 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"
COPYRIGHT="2005-2013 OpenTTD Team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://bundles.openttdcoop.org/opengfx/releases/$portVersion/opengfx-$portVersion.zip#noarchive"
CHECKSUM_SHA256="3d136d776906dbe8b5df1434cb9a68d1249511a3c4cfaca55cc24cc0028ae078"
ARCHITECTURES="any"
PROVIDES="
openttd_gfx = $portVersion
"
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
}
INSTALL()
{
mkdir -p $dataDir/openttd/baseset/opengfx
cp opengfx-$portVersion/* $dataDir/openttd/baseset/opengfx
}