1 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
5 pkgdesc="A free cross-platform real-time strategy gaming engine"
7 url="https://launchpad.net/stratagus"
9 depends=('gcc-libs' 'bzip2' 'libgl' 'sdl' 'libpng' 'libmng' 'libvorbis' 'libtheora'
10 'libmikmod' 'lua' 'toluapp')
12 changelog=stratagus.changelog
13 source=(http://launchpad.net/stratagus/trunk/$pkgver/+download/stratagus_$pkgver.orig.tar.gz)
14 md5sums=('1b5485f3d5acd3bc1b7e6a90bb1d38b3')
21 cmake ../${pkgname}_$pkgver.orig \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr
26 mkdir -p ${pkgdir}/usr/include
27 cp ${srcdir}/${pkgname}_$pkgver.orig/gameheaders/stratagus-game-launcher.h ${pkgdir}/usr/include
32 make DESTDIR="${pkgdir}" install
33 mv ${pkgdir}/usr/games/stratagus ${pkgdir}/usr/bin
34 rmdir ${pkgdir}/usr/games