From 8da6cf88b07e6a9fa929381a69e487e7df1237dd Mon Sep 17 00:00:00 2001 From: Matthew Fillpot Date: Fri, 5 Aug 2011 11:49:42 -0300 Subject: games/warzone2100: Updated for version 2.3.8. Signed-off-by: Niels Horn --- games/warzone2100/slack-desc | 2 +- games/warzone2100/warzone2100.SlackBuild | 11 +++++------ games/warzone2100/warzone2100.info | 8 ++++---- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/games/warzone2100/slack-desc b/games/warzone2100/slack-desc index a47105d379..fcf22fcc01 100644 --- a/games/warzone2100/slack-desc +++ b/games/warzone2100/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler--------------------------------------------------| + |-----handy-ruler------------------------------------------------------| warzone2100: warzone2100 (a real-time 3D strategy game) warzone2100: warzone2100: This is an improved version of Warzone 2100, a 3D science fiction diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild index f996fc8813..180d1af959 100644 --- a/games/warzone2100/warzone2100.SlackBuild +++ b/games/warzone2100/warzone2100.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for Warzone 2100 -# Copyright 2010 Matthew "mfillpot" Fillpot +# Copyright 2011 Matthew "mfillpot" Fillpot # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=warzone2100 -VERSION=${VERSION:-2.3.5} +VERSION=${VERSION:-2.3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -82,10 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG - -# No man pages - -# No info files +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 find $PKG -name perllocal.pod \ -o -name ".packlist" \ diff --git a/games/warzone2100/warzone2100.info b/games/warzone2100/warzone2100.info index 427e05c573..dcb093ad47 100644 --- a/games/warzone2100/warzone2100.info +++ b/games/warzone2100/warzone2100.info @@ -1,10 +1,10 @@ PRGNAM="warzone2100" -VERSION="2.3.5" +VERSION="2.3.8" HOMEPAGE="http://wz2100.net" -DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-2.3.5.tar.gz" -MD5SUM="1d9d724555b62573a9ebbcdf56a4d160" +DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-2.3.8.tar.gz" +MD5SUM="612306c1b6a9d38b632ea3168b824f5e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Matthew Fillpot" EMAIL="mfilpot@gmail.com" -APPROVED="Erik Hanson" +APPROVED="Erik Hanson,Niels Horn" -- cgit v1.2.3-65-gdbad