mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
878 B
Bash
26 lines
878 B
Bash
# $Id: PKGBUILD 990 2009-08-11 07:24:32Z vegai $
|
|
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
|
|
|
|
pkgname=openttd
|
|
pkgver=0.7.2
|
|
pkgrel=1
|
|
pkgdesc="An engine for running Transport Tycoon Deluxe -- requires non-free data"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.openttd.com"
|
|
license=('GPL')
|
|
depends=(libpng sdl icu fontconfig hicolor-icon-theme desktop-file-utils)
|
|
makedepends=()
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-source.tar.bz2)
|
|
install=(openttd.install)
|
|
|
|
build() {
|
|
cd $startdir/src/$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 || return 1
|
|
make install || return 1
|
|
}
|
|
md5sums=('d151f67a95b8e8a239ad72c1c3864b65')
|