[Lunar-commits] <moonbase> openttd: using opengfx so no original ttd files are needed!
Duncan Gibson
engelsman at lunar-linux.org
Thu Apr 21 21:53:55 CEST 2011
commit 72ccfea3f537151adfee9566a3ecd2270030ec1a
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date: Thu Apr 21 21:53:55 2011 +0200
openttd: using opengfx so no original ttd files are needed!
---
games/openttd/DETAILS | 7 +++++--
games/openttd/POST_INSTALL | 18 ------------------
games/openttd/PRE_BUILD | 7 +++++++
3 files changed, 12 insertions(+), 20 deletions(-)
diff --git a/games/openttd/DETAILS b/games/openttd/DETAILS
index 0a44730..82e3cae 100644
--- a/games/openttd/DETAILS
+++ b/games/openttd/DETAILS
@@ -1,14 +1,17 @@
MODULE=openttd
VERSION=1.0.5
SOURCE=$MODULE-$VERSION-source.tar.bz2
+ SOURCE2=opengfx-0.2.4.tar.bz2
SOURCE_URL=http://binaries.openttd.org/releases/$VERSION
+ SOURCE2_URL=http://bundles.openttdcoop.org/opengfx/releases
SOURCE_VFY=sha1:2e0cfa2d6e4c4bc1235a60de39961728bb727eb8
+ SOURCE2_VFY=sha1:a45966717ddf88505921861240b85d7227957a3e
WEB_SITE=http://www.openttd.org/
ENTERED=20060322
- UPDATED=20110101
+ UPDATED=20110331
MAINTAINER=ratler at lunar-linux.org
SHORT="A clone of the Microprose game Transport Tycoon Deluxe"
-GARBAGE=off
+ GARBAGE=off
cat << EOF
OpenTTD is modeled after the original Transport Tycoon game by Chris
diff --git a/games/openttd/POST_INSTALL b/games/openttd/POST_INSTALL
deleted file mode 100644
index 75abe61..0000000
--- a/games/openttd/POST_INSTALL
+++ /dev/null
@@ -1,18 +0,0 @@
-message "${MESSAGE_COLOR}Before you run OpenTTD, you need to put the game's datafiles into the
-/usr/share/games/openttd/data subdirectory.
-You need the following files from the original version of TTD as
-OpenTTD makes use of the original TTD artwork.
-
-List of the required files: sample.cat trg1r.grf trgcr.grf trghr.grf
-trgir.grf trgtr.grf
-
-(Alternatively you can use the TTD GRF files from the DOS version:
-TRG1.GRF, TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. A few minor graphical
-glitches with the DOS graphics remain. E.g. the autorail button in the
-rail toolbar doesn't look as nice as with the Windows graphics.)
-
-If you want music you need to copy the gm/ folder from Windows TTD into
-your /usr/share/games/openttd folder, not your data folder.
-
-For more information on how to aquire the original game visit,
-http://www.transporttycoon.net/where${DEFAULT_COLOR}"
diff --git a/games/openttd/PRE_BUILD b/games/openttd/PRE_BUILD
new file mode 100644
index 0000000..004e317
--- /dev/null
+++ b/games/openttd/PRE_BUILD
@@ -0,0 +1,7 @@
+mk_source_dir &&
+unpack $SOURCE &&
+unpack $SOURCE2 &&
+cp opengfx-0.2.4/*.grf $SOURCE_DIRECTORY/bin/data/ &&
+cp opengfx-0.2.4/*.obg $SOURCE_DIRECTORY/bin/data/ &&
+rm -rf opengfx-0.2.4 &&
+cd $SOURCE_DIRECTORY
More information about the Lunar-commits
mailing list