0
0
Fork 0
haikuports/games-simulation/simutrans_pak128/simutrans_pak128-2.8.1.recipe

44 lines
1.7 KiB
Bash

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.
When Simutrans could only support 64px size graphics, pak128 already \
started. First pak to feature a complex economy and have a very wide \
variety of objects. It contains roughly 7 time more graphics data than \
pak64 and thus requires by far the largest amount of RAM and \
processing power of all Simutrans sets."
HOMEPAGE="http://www.simutrans.com"
COPYRIGHT="2004-2007 Tomas Kubes
2008-2018 The pak128-Team"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/project/simutrans/pak128/pak128%20for%20ST%20120.4.1%20%282.8.1%2C%20priority%20signals%20%2B%20bugfix%29/pak128.zip"
CHECKSUM_SHA256="bc17793e9d64c7f56e58bc050f6f8d59cac5deb46b9d90773af8fc0cf2f1017c"
SOURCE_FILENAME="simupak_128-$portVersion.zip"
SOURCE_DIR="simutrans"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
GLOBAL_WRITABLE_FILES="
non-packaged/$relativeAppsDir/simutrans/pak128/config directory keep-old
"
PROVIDES="
simutrans_pak128 = $portVersion
simutrans_pakset = 120.4 compat >= 120.4
"
INSTALL()
{
mkdir -p $appsDir/simutrans
mkdir -p $prefix/non-packaged/$relativeAppsDir/simutrans/pak128/config
cp -r pak128 $appsDir/simutrans/
mv $appsDir/simutrans/pak128/config \
$prefix/non-packaged/$relativeAppsDir/simutrans/pak128/
ln -s $prefix/non-packaged/$relativeAppsDir/simutrans/pak128/config \
$appsDir/simutrans/pak128/config
}