# Tanım: Transport Tycoon Deluxe çalıştırmak için bir motor.
# URL: http://www.openttd.org
# Paketçi: milisarge
# Gerekler: libpng sdl icu xorg-fontconfig lzo hicolor-icon-theme desktop-file-utils xz openttd-opengfx openttd-opensfx
# Grup: oyun

isim=openttd
surum=1.8.0
devir=1
kaynak=(http://binaries.openttd.org/releases/${surum}/${isim}-${surum}-source.tar.xz)

derle() {
  cd ${isim}-${surum} 

 ./configure \
    --prefix-dir=/usr \
    --binary-name=${isim} \
    --binary-dir=bin \
    --data-dir=share/${isim} \
    --install-dir=${PKG} \
    --menu-name="OpenTTD" \
    --personal-dir=.${isim}    

  make
  make install
}