aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:27:25 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:27:25 +0200
commit3c8201510720321fa9de528dee3c61f573f19858 (patch)
tree67878b105c1979c6b7611d11577eae66ab352aaf
parent5d89858685e80befc94bcf759996600bb2690eb2 (diff)
games/uqm: Updated for version 0.6.2
-rw-r--r--games/uqm/README11
-rw-r--r--games/uqm/uqm.SlackBuild8
-rw-r--r--games/uqm/uqm.info8
3 files changed, 12 insertions, 15 deletions
diff --git a/games/uqm/README b/games/uqm/README
index 0c9637a6d0b60..d895dd04e003e 100644
--- a/games/uqm/README
+++ b/games/uqm/README
@@ -1,17 +1,6 @@
The Ur-Quan Masters is a port of the 3DO version of the PC game "Star
Control II". It runs on modern operating systems and is 100% free.
-This package with build both the game executable, documentation and
-the game contents (graphics, sound, etc).
-
-in addition the game executable you will also need to download the
-game content
-
-uqm_content source:
- http://downloads.sourceforge.net/sc2/uqm-0.6.0-content.uqm
-uqm_content md5sum:
- md7e8f0ed8490e24231431420ea2ba6a03
-
You may also want the optional uqm_voice and uqm_3domusic packages, for
a more festive gaming experience.
diff --git a/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild
index 2368c02359dbe..1b571ec6502bc 100644
--- a/games/uqm/uqm.SlackBuild
+++ b/games/uqm/uqm.SlackBuild
@@ -20,10 +20,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -89,7 +92,8 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/share/$PRGNAM/content/packages/addons
cp content/version $PKG/usr/share/$PRGNAM/content
# Install the uqm content. Without this the binary is not useful.
-cat $CWD/$PRGNAM-$CONTVER-content.uqm > $PKG/usr/share/$PRGNAM/content/packages/$PRGNAM-$CONTVER-content.uqm
+cat $CWD/$PRGNAM-$CONTVER-content.uqm > \
+ $PKG/usr/share/$PRGNAM/content/packages/$PRGNAM-$CONTVER-content.uqm
mkdir -p $PKG/usr/man/man1
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
@@ -103,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/uqm/uqm.info b/games/uqm/uqm.info
index bf0e34c8b1e5f..42e3613c0b3d9 100644
--- a/games/uqm/uqm.info
+++ b/games/uqm/uqm.info
@@ -1,8 +1,12 @@
PRGNAM="uqm"
VERSION="0.6.2"
HOMEPAGE="http://sc2.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sc2/uqm-0.6.2-source.tgz"
-MD5SUM="ba4ee595b62349873d510b9827e7648d"
+DOWNLOAD="http://downloads.sourceforge.net/sc2/uqm-0.6.2-source.tgz \
+ http://downloads.sourceforge.net/sc2/uqm-0.6.0-content.uqm"
+MD5SUM="ba4ee595b62349873d510b9827e7648d \
+ md7e8f0ed8490e24231431420ea2ba6a03"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="michiel"