mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/uqm: Updated for version 0.6.2
This commit is contained in:
parent
5d89858685
commit
3c82015107
3 changed files with 12 additions and 15 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue