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 /games/megaglest/megaglest.SlackBuild | |
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>
Diffstat (limited to 'games/megaglest/megaglest.SlackBuild')
-rw-r--r-- | games/megaglest/megaglest.SlackBuild | 16 |
1 files changed, 8 insertions, 8 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 |