blob: 0c878b2bd4c95efd8f159f3287162063f8b1347b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $Id: PKGBUILD 64046 2012-02-08 23:19:32Z lcarlier $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=openttd
pkgver=1.2.0beta4
_realpkgver=1.2.0-beta4
pkgrel=1
pkgdesc='An engine for running Transport Tycoon Deluxe.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.openttd.org'
license=('GPL')
depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo2' 'hicolor-icon-theme' 'desktop-file-utils')
install=openttd.install
optdepends=('openttd-opengfx: free graphics'
'openttd-opensfx: free soundset')
source=("http://binaries.openttd.org/releases/${_realpkgver}/${pkgname}-${_realpkgver}-source.tar.xz")
md5sums=('41c18120a3f0d77c8f3ca11e2b6730e7')
build() {
cd ${pkgname}-${_realpkgver}
./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
}
package() {
cd ${pkgname}-${_realpkgver}
make install
}
|