#Maintainer: Christian Dersch pkgname=openttd pkgver=0.7.5 pkgrel=1cd arch=i486 source=("http://binaries.openttd.org/releases/0.7.5/openttd-0.7.5-source.tar.bz2") url=http://www.openttd.org/ docs=("COPYING" "changelog.txt" "known-bugs.txt" "readme.txt") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "openttd (free clone of the game TTD)" "OpenTTD is an open source clone of the Microprose game Transport" "Tycoon Deluxe, a popular game originally written by Chris Sawyer. It" "attempts to mimic the original game as closely as possible while" "extending it with new features." "NOTE: This package doesn't contain the original data files of TTD" "which are not free. If you have a TTD cd you can copy them by hand." "There is a set of free graphics called OpenGFX (free sound is still" "missing), if you want to use OpenGFX, install package openttd-opengfx." "http://www.openttd.org/" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix-dir=/usr \ --binary-dir=/games \ --data-dir=/share/games/openttd \ --icon-dir=/share/pixmaps \ --man-dir=/man/man6 \ --doc-dir=/doc/$pkgname-$pkgver \ --personal-dir=.openttd \ --install-dir=$startdir/pkg || return 1 make || return 1 make install DEST_DIR=$startdir/pkg }