From 3c8201510720321fa9de528dee3c61f573f19858 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 13 May 2010 00:27:25 +0200 Subject: games/uqm: Updated for version 0.6.2 --- games/uqm/uqm.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'games/uqm/uqm.SlackBuild') 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} -- cgit v1.2.3