summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/warzone2100/README4
-rw-r--r--games/warzone2100/README.movies14
-rw-r--r--games/warzone2100/warzone2100.SlackBuild23
-rw-r--r--games/warzone2100/warzone2100.info8
4 files changed, 39 insertions, 10 deletions
diff --git a/games/warzone2100/README b/games/warzone2100/README
index 1be24cab10..e4cc04be60 100644
--- a/games/warzone2100/README
+++ b/games/warzone2100/README
@@ -6,4 +6,6 @@ Warzone 2100 offers campaign, tutorial, multi-player and single-player
skirmish game modes, unit designer, unit experience system, and everything
you would expect from a modern RTS game.
-This requires physfs, quesoglc, and OpenAL.
+This requires physfs, quesoglc, OpenAL and GLee (optional).
+
+If you wish to include the animated movies, read the README.movies file.
diff --git a/games/warzone2100/README.movies b/games/warzone2100/README.movies
new file mode 100644
index 0000000000..f6b9804036
--- /dev/null
+++ b/games/warzone2100/README.movies
@@ -0,0 +1,14 @@
+Due to the extensive size of the movie files, the movies are not included
+with the source code. If you decide to include the movies you will have to
+download one of the following files into ~/.warzone-2.3/ for each user that
+plays the game, the files will not be needed until after the app is compiled
+and installed.
+
+Quality: Standard
+Size: 545MB
+Download: http://downloads.sourceforge.net/warzone2100/warzone2100/Videos/2.2/standard-quality-en/sequences.wz/download
+
+Quality: Low
+Size: 162MB
+Download: http://downloads.sourceforge.net/warzone2100/warzone2100/Videos/2.2/low-quality-en/sequences.wz
+
diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild
index 439b74abcb..f996fc8813 100644
--- a/games/warzone2100/warzone2100.SlackBuild
+++ b/games/warzone2100/warzone2100.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=warzone2100
-VERSION=${VERSION:-2.3.4}
+VERSION=${VERSION:-2.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -64,22 +62,37 @@ cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-data=yes \
--with-distributor=Slackware \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
+
+# No man pages
+
+# No info files
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+
# Let's not pollute the themed icon directory
mv $PKG/usr/share/icons $PKG/usr/share/pixmaps
diff --git a/games/warzone2100/warzone2100.info b/games/warzone2100/warzone2100.info
index bda064a9ce..427e05c573 100644
--- a/games/warzone2100/warzone2100.info
+++ b/games/warzone2100/warzone2100.info
@@ -1,10 +1,10 @@
PRGNAM="warzone2100"
-VERSION="2.3.4"
+VERSION="2.3.5"
HOMEPAGE="http://wz2100.net"
-DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-2.3.4.tar.gz"
-MD5SUM="7c8182a9313a97e260eac85c20ab6de0"
+DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-2.3.5.tar.gz"
+MD5SUM="1d9d724555b62573a9ebbcdf56a4d160"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Matthew Fillpot"
EMAIL="mfilpot@gmail.com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"