SUMMARY="Pakset for Simutrans"
DESCRIPTION="A 'pakset' is the data set that Simutrans needs to run: \
it contains all the data for the graphics of individual items (vehicles, \
roads, railways, buildings, etc.) and all of the balancing information \
(such as prices, speeds, capacities and so forth) necessary to make \
the game complete.
Pak64 is the main and a base set for Simutrans developed along with \
Simutrans executable. It always contains the most recent features. It is \
neatly painted pixel by pixel with motherly care. On the other hand it \
might look too tiny on high resolution displays. Many artists contributed \
to this pak set, from the 8 bit age on."
HOMEPAGE="http://www.simutrans.com"
SOURCE_URI="http://sourceforge.net/projects/simutrans/files/pak64/120-0/simupak64-120-0-1.zip"
CHECKSUM_SHA256="02a709dfa4b0c22e0b463ebcbd9684548356de1c61566cff9c127a79990dbb78"
SOURCE_FILENAME="simupak_64-$portVersion.zip"
SOURCE_DIR=""
COPYRIGHT="1997-2004 Hj. Malthaner
	2005-2014 The Simutrans Team"
LICENSE="Artistic"
REVISION="1"
ARCHITECTURES="any"

PROVIDES="
	simutrans_pak64 = $portVersion
	simutrans_pakset = $portVersion
	"

GLOBAL_WRITABLE_FILES="
	non-packaged/$relativeAppsDir/simutrans/pak/config directory keep-old
	"

INSTALL()
{
	mkdir -p $appsDir/simutrans
	mkdir -p $prefix/non-packaged/$relativeAppsDir/simutrans/pak/config
	cp -r simutrans $appsDir/
	mv $appsDir/simutrans/pak/config \
		$prefix/non-packaged/$relativeAppsDir/simutrans/pak/
	ln -s $prefix/non-packaged/$relativeAppsDir/simutrans/pak/config \
		$appsDir/simutrans/pak/config
}
