games/ioquake3: Fixed download + switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
M.Dinslage 2017-03-24 20:45:34 +00:00 committed by David Spencer
parent ed50d8f1c6
commit 2336411606
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ TAG=${TAG:-_SBo}
# here and let the Makefile set the ARCH. # here and let the Makefile set the ARCH.
if [ -z "$BARCH" ]; then if [ -z "$BARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) export BARCH=i486 ;; i?86) export BARCH=i586 ;;
arm*) export BARCH=arm ;; arm*) export BARCH=arm ;;
*) export BARCH=$( uname -m ) ;; *) export BARCH=$( uname -m ) ;;
esac esac
@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$BARCH" = "i486" ]; then if [ "$BARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$BARCH" = "i686" ]; then elif [ "$BARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"

View file

@ -1,7 +1,7 @@
PRGNAM="ioquake3" PRGNAM="ioquake3"
VERSION="r20160627" VERSION="r20160627"
HOMEPAGE="http://ioquake3.org/" HOMEPAGE="http://ioquake3.org/"
DOWNLOAD="https://dl.dropboxusercontent.com/u/85079539/ioquake3-r20160627.tar.xz \ DOWNLOAD="https://www.dropbox.com/s/tux28ueu4mtw2sb/ioquake3-r20160627.tar.xz \
http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32b-3.x86.run" http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32b-3.x86.run"
MD5SUM="9f63bd227646663051541f742ba59c4b \ MD5SUM="9f63bd227646663051541f742ba59c4b \
c71fdddccb20e8fc393d846e9c61d685" c71fdddccb20e8fc393d846e9c61d685"