diff options
author | root <root@rshg054.dnsready.net> | 2012-07-31 00:02:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-31 00:02:30 +0000 |
commit | 5b3474881a154216b47c6e154552ee5f9c68c509 (patch) | |
tree | 098f24750e89f88b3c80ded4579a44928bae1b45 /community-testing/megaglest/PKGBUILD | |
parent | 4982c269b318734d01ad30c6592fbb73565ceb12 (diff) |
Tue Jul 31 00:02:29 UTC 2012
Diffstat (limited to 'community-testing/megaglest/PKGBUILD')
-rw-r--r-- | community-testing/megaglest/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/megaglest/PKGBUILD b/community-testing/megaglest/PKGBUILD new file mode 100644 index 000000000..2740642d2 --- /dev/null +++ b/community-testing/megaglest/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 74516 2012-07-29 21:15:52Z ebelanger $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> + +pkgname=megaglest +pkgver=3.6.0.3 +pkgrel=3 +pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world." +arch=('i686' 'x86_64') +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" + lol.patch) +md5sums=('5a4a2429435031d9f9cc5d9535a9de9d' + '68fd326b73ed1c75981004fbdef6b73a') + +build() { + cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ + + patch -Np1 < $srcdir/lol.patch + + [[ -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: |