# $Id: PKGBUILD 64173 2012-02-09 17:40:27Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Larry Hajali pkgname=megaglest pkgver=3.6.0.3 pkgrel=2 pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world." arch=('i686' 'x86_64' 'mips64el') url="http://sourceforge.net/projects/megaglest/" license=('GPL3') depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua' 'icu' 'ftgl' 'glew' 'libircclient' 'miniupnpc' 'wxgtk') makedepends=('ftjam' 'cmake' 'mesa') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.xz") md5sums=('5a4a2429435031d9f9cc5d9535a9de9d') build() { cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ [[ -d build ]] && rm -r build mkdir build && cd build cmake .. \ -DWANT_SVN_STAMP=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version make } package() { cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ cd build make DESTDIR="$pkgdir" install } # vim: sw=2:ts=2 et: