summaryrefslogtreecommitdiff
path: root/community/megaglest/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-27 01:08:30 -0700
committerroot <root@rshg054.dnsready.net>2013-06-27 01:08:30 -0700
commit7851c02115b35e64fc3b827b29c79023d4518f6f (patch)
tree31fd94dd2170ee2c1a9cc08625c00b049df2c37e /community/megaglest/PKGBUILD
parent38e0c9a91ef567c6656f4c45423160f0e3964250 (diff)
Thu Jun 27 01:08:30 PDT 2013
Diffstat (limited to 'community/megaglest/PKGBUILD')
-rw-r--r--community/megaglest/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/community/megaglest/PKGBUILD b/community/megaglest/PKGBUILD
index d38a1aee6..30c6d9479 100644
--- a/community/megaglest/PKGBUILD
+++ b/community/megaglest/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 90059 2013-05-06 19:38:20Z foutrelis $
+# $Id: PKGBUILD 93166 2013-06-26 17:55:13Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
pkgname=megaglest
-pkgver=3.7.1
-pkgrel=2
+pkgver=3.8.0beta1
+_pkgver=3.8.0-beta1
+pkgrel=1
pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/megaglest/"
@@ -12,27 +13,24 @@ license=('GPL3')
depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
'libircclient' 'miniupnpc' 'wxgtk' 'glu')
makedepends=('ftjam' 'cmake' 'mesa')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.xz"
- lol.patch)
-md5sums=('e7a960ec73784aa0f7b951d2ad963456'
- '68fd326b73ed1c75981004fbdef6b73a')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${_pkgver}.tar.xz")
+md5sums=('1da8707d435ffb2342f03ca466d4eeed')
build() {
- cd "${srcdir}"/"${pkgname}"-"${pkgver}"/
-
- #patch -Np1 < "$srcdir/lol.patch"
+ 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
+ -DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd "${srcdir}"/"${pkgname}"-"${pkgver}"/
+ cd "${srcdir}"/"${pkgname}"-"${_pkgver}"/
cd build
make DESTDIR="$pkgdir" install