summaryrefslogtreecommitdiff
path: root/community/megaglest/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/megaglest/PKGBUILD')
-rw-r--r--community/megaglest/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/megaglest/PKGBUILD b/community/megaglest/PKGBUILD
index 27ae318b8..1c1804fe7 100644
--- a/community/megaglest/PKGBUILD
+++ b/community/megaglest/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 64173 2012-02-09 17:40:27Z svenstaro $
+# $Id: PKGBUILD 74620 2012-07-31 19:56:16Z ebelanger $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
+
pkgname=megaglest
pkgver=3.6.0.3
-pkgrel=2
+pkgrel=3
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')
+'libircclient' 'miniupnpc' 'wxgtk')
makedepends=('ftjam' 'cmake' 'mesa')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.xz")
-md5sums=('5a4a2429435031d9f9cc5d9535a9de9d')
+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
+ -DWANT_SVN_STAMP=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version
make
}