# Tanım: Dönüşümlü galaxy ve uzay istila oyunu 
# URL: http://www.freeorion.org/
# Paketçi: milisarge
# Gerekler: boost cmake boost python sdl2 libvorbis glew openal hicolor-icon-theme freetype
# Grup: oyun

isim=freeorion
surum=0.4.7
devir=1
kaynak=(https://github.com/freeorion/freeorion/releases/download/v${surum}/FreeOrion_v${surum}_2017-04-24.60d06dc_Source.tar.gz)

derle() {
  cd $SRC/src-tarball
  mkdir -p build
  cd $SRC/src-tarball/build
  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_LIBDIR=lib \
    ..
  make
  make DESTDIR=$PKG install
}
