summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2015-01-29 17:35:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-29 17:35:55 +0700
commit363a4c8978b3b81e97871a62dadeb264581b3a34 (patch)
tree85ef2ca690ee6374659d782875d7bd8c024e6f30
parent52182c28d5fd0d95cda780ed0dbd0916d196d6da (diff)
downloadslackbuilds-363a4c8978b3b81e97871a62dadeb264581b3a34.tar.gz
games/megaglest: Updated for version 3.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/megaglest/megaglest.SlackBuild17
-rw-r--r--games/megaglest/megaglest.info14
2 files changed, 14 insertions, 17 deletions
diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild
index 4e58f2f3b6..81668613e7 100644
--- a/games/megaglest/megaglest.SlackBuild
+++ b/games/megaglest/megaglest.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for megaglest
-# Copyright 2011-2013 Larry Hajali <larryhaj[at]gmail[dot]com>
+# Copyright 2011-2015 Larry Hajali <larryhaj[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=megaglest
-VERSION=${VERSION:-3.9.1}
+VERSION=${VERSION:-3.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,20 +67,17 @@ cd $PRGNAM-$VERSION
find . -type l -exec rm -f '{}' \;
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix megaglest help2man when no X display is available. Use a wrapper
-# script from upstream for Xvfb that creates a temporary *fake* framebuffer
+# script from upstream for Xvfb that creates a temporary *fake* framebuffer.
install -D -m 0755 $CWD/xvfb-run $TMP/$SRCDIR/bin/xvfb-run
export PATH="$PATH:$TMP/$SRCDIR/bin"
patch -p1 < $CWD/megaglest-3.9.0-help2man.patch
-# Fix file location in CMakeLists.txt
-sed -i 's|data/glest_game/||' source/glest_game/CMakeLists.txt
-
mkdir build
cd build
cmake -G "Unix Makefiles" \
diff --git a/games/megaglest/megaglest.info b/games/megaglest/megaglest.info
index 708fb2075e..e4c395e2c0 100644
--- a/games/megaglest/megaglest.info
+++ b/games/megaglest/megaglest.info
@@ -1,12 +1,12 @@
PRGNAM="megaglest"
-VERSION="3.9.0.4"
+VERSION="3.11.0"
HOMEPAGE="http://megaglest.org/"
-DOWNLOAD="https://github.com/MegaGlest/megaglest-source/releases/download/3.9.1/megaglest-source-3.9.1.tar.xz \
- https://github.com/MegaGlest/megaglest-data/releases/download/3.9.1/megaglest-data-3.9.1.tar.xz \
- https://github.com/MegaGlest/megaglest-source/releases/download/3.9.1/megaglest-source-embedded-3.9.1.tar.xz"
-MD5SUM="e6f6e210cb663d5c50efc48c40faa70f \
- 42cf888b1a1ef644d9229fe6b9dde4b8 \
- 14bf7c0646f3da0ae0e38b8bedb1c6a1"
+DOWNLOAD="https://github.com/MegaGlest/megaglest-source/releases/download/3.11.0/megaglest-source-3.11.0.tar.xz \
+ https://github.com/MegaGlest/megaglest-data/releases/download/3.11.0/megaglest-data-3.11.0.tar.xz \
+ https://github.com/MegaGlest/megaglest-source/releases/download/3.11.0/megaglest-source-embedded-3.11.0.tar.xz"
+MD5SUM="a2f98b2491ffae52a1f64b3bf901a828 \
+ 2251932dd62a15553ed08cc146012257 \
+ fed97c4e5b9cc0a274e1a14984c4289c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xerces-c OpenAL lua ftgl wxPython"