diff options
Diffstat (limited to 'games/ioquake3')
-rw-r--r-- | games/ioquake3/ioquake3.SlackBuild | 32 | ||||
-rw-r--r-- | games/ioquake3/ioquake3.info | 6 |
2 files changed, 16 insertions, 22 deletions
diff --git a/games/ioquake3/ioquake3.SlackBuild b/games/ioquake3/ioquake3.SlackBuild index 843784f784..5c35ece70b 100644 --- a/games/ioquake3/ioquake3.SlackBuild +++ b/games/ioquake3/ioquake3.SlackBuild @@ -23,22 +23,16 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ioquake3 -VERSION=${VERSION:-r20200211} +VERSION=${VERSION:-1.36_05180e3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Setting the arch here overrides the Makefiles -# arch setting which causes the build to fail -# on 32bit machines, so we change this to BARCH -# here and let the Makefile set the ARCH. if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export BARCH=i586 ;; - arm*) export BARCH=arm ;; - *) export BARCH=$( uname -m ) ;; + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; esac -else - BARCH="$ARCH" fi CWD=$(pwd) @@ -46,22 +40,22 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$BARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" - ARCH="x86" -elif [ "$BARCH" = "i686" ]; then + BARCH="x86" +elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" - ARCH="x86" -elif [ "$BARCH" = "x86_64" ]; then + BARCH="x86" +elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - ARCH="x86_64" + BARCH="x86_64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" - ARCH="$BARCH" + BARCH="$ARCH" fi set -e @@ -82,7 +76,7 @@ find -L . \ make \ release \ copyfiles \ - ARCH="$ARCH" \ + ARCH="$BARCH" \ COPYDIR="$PKG"/usr/share/games/quake3 \ CFLAGS="$SLKCFLAGS" \ USE_CODEC_VORBIS=1 \ @@ -130,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$BARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/ioquake3/ioquake3.info b/games/ioquake3/ioquake3.info index cfbc46e762..a3cca75cc5 100644 --- a/games/ioquake3/ioquake3.info +++ b/games/ioquake3/ioquake3.info @@ -1,9 +1,9 @@ PRGNAM="ioquake3" -VERSION="r20200211" +VERSION="1.36_05180e3" HOMEPAGE="https://ioquake3.org/" -DOWNLOAD="https://www.dropbox.com/s/1pwzisj5rsexn7d/ioquake3-r20200211.tar.gz \ +DOWNLOAD="https://www.dropbox.com/s/k84alghs7f6urwg/ioquake3-1.36_05180e3.tar.gz \ http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32b-3.x86.run" -MD5SUM="3d3ba4910adb990432f414df6fff7e43 \ +MD5SUM="c85b8539dc99d05c9650dbda3f65f6f0 \ c71fdddccb20e8fc393d846e9c61d685" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |