diff options
Diffstat (limited to 'community/openttd/PKGBUILD')
-rw-r--r-- | community/openttd/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/openttd/PKGBUILD b/community/openttd/PKGBUILD new file mode 100644 index 000000000..5c636d2ae --- /dev/null +++ b/community/openttd/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 94719 2013-07-29 13:10:04Z lcarlier $ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> + +pkgname=openttd +pkgver=1.3.2 +pkgrel=1 +pkgdesc='An engine for running Transport Tycoon Deluxe.' +arch=('i686' 'x86_64') +url='http://www.openttd.org' +license=('GPL') +depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo2' 'hicolor-icon-theme' 'desktop-file-utils' 'xz') +install=openttd.install +optdepends=('openttd-opengfx: free graphics' + 'openttd-opensfx: free soundset') +source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz") +sha256sums=('f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b') + +package() { + cd ${pkgname}-${pkgver} + + ./configure \ + --prefix-dir=/usr \ + --binary-name=${pkgname} \ + --binary-dir=bin \ + --data-dir=share/${pkgname} \ + --install-dir=${pkgdir} \ + --doc-dir=share/doc/${pkgname} \ + --menu-name="OpenTTD" \ + --personal-dir=.${pkgname} + + make + make install +} |