diff options
author | Larry Hajali <larryhaja@gmail.com> | 2017-03-09 21:21:58 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-11 07:04:04 +0700 |
commit | cda10d2e3ad5c06420b75d60477e74beaf3fdc15 (patch) | |
tree | 5603f3e52f3a19bbd231af9a71eb3432d6e99a16 | |
parent | 37d3e9404add4c52298ac95d7ee74ba6edb126f6 (diff) | |
download | slackbuilds-cda10d2e3ad5c06420b75d60477e74beaf3fdc15.tar.gz |
games/megaglest: Updated for version 3.13.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
-rw-r--r-- | games/megaglest/megaglest.SlackBuild | 16 | ||||
-rw-r--r-- | games/megaglest/megaglest.info | 14 |
2 files changed, 15 insertions, 15 deletions
diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild index 39def44f6d..e72f00d757 100644 --- a/games/megaglest/megaglest.SlackBuild +++ b/games/megaglest/megaglest.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for megaglest -# Copyright 2011-2016 Larry Hajali <larryhaj[at]gmail[dot]com> +# Copyright 2011-2017 Larry Hajali <larryhaj[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=megaglest -VERSION=${VERSION:-3.12.0} +VERSION=${VERSION:-3.13.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,7 +62,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-source-$VERSION.tar.xz tar xvf $CWD/$PRGNAM-source-embedded-$VERSION.tar.xz -tar xvf $CWD/$PRGNAM-data-$VERSION.b1.tar.xz -C $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-data-$VERSION.tar.xz -C $PRGNAM-$VERSION cd $PRGNAM-$VERSION #find . -type l -exec rm -f '{}' \; chown -R root:root . @@ -74,8 +74,8 @@ find -L . \ # Fix megaglest help2man when no X display is available. Use a wrapper # 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" +install -D -m 0755 $CWD/xvfb-run $TMP/$PRGNAM-$VERSION/bin/xvfb-run +export PATH="$PATH:$TMP/$PRGNAM-$VERSION/bin" patch -p1 < $CWD/megaglest-help2man.patch patch -p1 < $CWD/megaglest-underlink.patch diff --git a/games/megaglest/megaglest.info b/games/megaglest/megaglest.info index 3ce4189d3b..c06e34ebc9 100644 --- a/games/megaglest/megaglest.info +++ b/games/megaglest/megaglest.info @@ -1,12 +1,12 @@ PRGNAM="megaglest" -VERSION="3.12.0" +VERSION="3.13.0" HOMEPAGE="http://megaglest.org/" -DOWNLOAD="https://github.com/MegaGlest/megaglest-source/releases/download/3.12.0/megaglest-source-3.12.0.tar.xz \ - https://github.com/MegaGlest/megaglest-data/releases/download/3.12.0/megaglest-data-3.12.0.b1.tar.xz \ - https://github.com/MegaGlest/megaglest-source/releases/download/3.12.0/megaglest-source-embedded-3.12.0.tar.xz" -MD5SUM="59a7ecda1be967fd005607519d6e320c \ - 394697e65dad9807ec9d4a1962e225c6 \ - 16f28a95b13940dcbaf29d06763c0e57" +DOWNLOAD="https://github.com/MegaGlest/megaglest-source/releases/download/3.13.0/megaglest-source-3.13.0.tar.xz \ + https://github.com/MegaGlest/megaglest-data/releases/download/3.13.0/megaglest-data-3.13.0.tar.xz \ + https://github.com/MegaGlest/megaglest-source/releases/download/3.13.0/megaglest-source-embedded-3.13.0.tar.xz" +MD5SUM="2b1020bb627de50fcf771bfcc335f8e2 \ + f9664a250cab051686367bf534d449d1 \ + 0eb616b9effad7b630843182c1bcc07c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL2 xerces-c OpenAL lua ftgl wxPython" |