2017-04-06 13:21:57 +02:00
|
|
|
|
# Description:Transport Tycoon Deluxe çalıştırmak için bir motor.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.openttd.org
|
2017-04-06 13:21:57 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: libpng sdl icu xorg-fontconfig lzo hicolor-icon-theme desktop-file-utils xz openttd-opengfx openttd-opensfx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name=openttd
|
|
|
|
|
version=1.5.2
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://binaries.openttd.org/releases/${version}/${name}-${version}-source.tar.xz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd ${name}-${version}
|
|
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
|
--prefix-dir=/usr \
|
|
|
|
|
--binary-name=${name} \
|
|
|
|
|
--binary-dir=bin \
|
|
|
|
|
--data-dir=share/${name} \
|
|
|
|
|
--install-dir=${PKG} \
|
|
|
|
|
--doc-dir=share/doc/${name} \
|
|
|
|
|
--menu-name="OpenTTD" \
|
|
|
|
|
--personal-dir=.${name}
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make install
|
|
|
|
|
}
|