games/wormux: Updated for version 0.9.2.1.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2010-07-02 23:05:13 -05:00 committed by Erik Hanson
parent f346684801
commit fa8e13b34e
2 changed files with 6 additions and 10 deletions

View file

@ -26,16 +26,14 @@
# Modified by the SlackBuilds.org project # Modified by the SlackBuilds.org project
PRGNAM=wormux PRGNAM=wormux
VERSION=0.8.5 VERSION=0.9.2.1
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -90,10 +88,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \;
find . -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
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="wormux" PRGNAM="wormux"
VERSION="0.8.5" VERSION="0.9.2.1"
HOMEPAGE="http://wormux.org/wiki/en/index.php" HOMEPAGE="http://wormux.org/wiki/en/index.php"
DOWNLOAD="http://download.gna.org/wormux/wormux-0.8.5.tar.bz2" DOWNLOAD="http://download.gna.org/wormux/wormux-0.9.2.1.tar.bz2"
MD5SUM="e349893a46ece08533f4e393c82adeef" MD5SUM="e49621b9b4ac7c8d1b11657989df61db"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger" MAINTAINER="Heinz Wiesinger"