summaryrefslogtreecommitdiff
path: root/games/uqm/uqm.SlackBuild
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 /games/uqm/uqm.SlackBuild
parent5d89858685e80befc94bcf759996600bb2690eb2 (diff)
downloadslackbuilds-3c8201510720321fa9de528dee3c61f573f19858.tar.gz
games/uqm: Updated for version 0.6.2
Diffstat (limited to 'games/uqm/uqm.SlackBuild')
-rw-r--r--games/uqm/uqm.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild
index 2368c02359..1b571ec650 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}