summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Hermanson <apeitheo@gmail.com>2012-05-04 20:02:52 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:06 -0500
commitcd5b4b6ceb36b2ce7e49ccb29e39b034bf2ec7e6 (patch)
tree9062a356b46ac6d95ac3b6d584f4b162252e9557
parenta2a41e27080cd28a652147077521060ccd602ef0 (diff)
downloadslackbuilds-cd5b4b6ceb36b2ce7e49ccb29e39b034bf2ec7e6.tar.gz
games/quakeforge: Updated for version 0.6.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--games/quakeforge/README27
-rw-r--r--games/quakeforge/quakeforge.SlackBuild25
-rw-r--r--games/quakeforge/quakeforge.info8
3 files changed, 43 insertions, 17 deletions
diff --git a/games/quakeforge/README b/games/quakeforge/README
index a577900d61..2d6da6fe9d 100644
--- a/games/quakeforge/README
+++ b/games/quakeforge/README
@@ -1,8 +1,27 @@
QuakeForge is a source port of id Software's Quake I.
-You will need at least pak0.pak to play the shareware version, and pak1.pak
-to play the full game. These can be added to either ~/.quakeforge/id1 or
+You will need at least pak0.pak to play the shareware version, and pak1.pak to
+play the full game. These can be added to either ~/.quakeforge/id1 or
/usr/share/games/quakeforge/id1/.
-The binaries to run QuakeForge are as follows: nq-glx (for OpenGL client),
-nq-sdl (for SDL client), qw-client-glx (for QuakeWorld OpenGL client), etc.
+Note: You may have to manually specify the resolution for OpenGL clients
+e.g. nq-glx -width 1024 -height 768 -fullscreen
+
+The binaries to run QuakeForge are as follows (not all are listed):
+
+Quake
+----------------------------------------------------
+nq-glslx: (New) OpenGL/Software client
+nq-glx: OpenGL client
+nq-sdl: SDL client
+
+QuakeWorld
+----------------------------------------------------
+qw-client-glslx: (New) OpenGL/Software client
+qw-client-glx: OpenGL client
+qw-client-sdl: SDL client
+
+Servers
+----------------------------------------------------
+nq-server: Quake server
+qw-server: QuakeWorld server
diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild
index e6e93bce50..1e688d1b1b 100644
--- a/games/quakeforge/quakeforge.SlackBuild
+++ b/games/quakeforge/quakeforge.SlackBuild
@@ -3,7 +3,7 @@
# Brad Hermanson <apeitheo@gmail.com>
PRGNAM=quakeforge
-VERSION=0.6.1
+VERSION=0.6.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,32 +42,39 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CPPFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
--mandir=/usr/man \
- --libdir=/usr/lib${LIBDIRSUFFIX}
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING ChangeLog INSTALL NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/games/quakeforge/quakeforge.info b/games/quakeforge/quakeforge.info
index 69727da8da..28055f6dea 100644
--- a/games/quakeforge/quakeforge.info
+++ b/games/quakeforge/quakeforge.info
@@ -1,10 +1,10 @@
PRGNAM="quakeforge"
-VERSION="0.6.1"
+VERSION="0.6.2"
HOMEPAGE="http://quakeforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/quake/quakeforge-0.6.1.tar.bz2"
-MD5SUM="8e8318dfe2c6fdcd0906ce6f6cf32a7b"
+DOWNLOAD="http://prdownloads.sourceforge.net/quake/quakeforge-0.6.2.tar.bz2"
+MD5SUM="11c771eee086138fa76c468380743bdd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Brad Hermanson"
EMAIL="apeitheo@gmail.com"
-APPROVED="Niels Horn"
+APPROVED="dsomero"