aboutsummaryrefslogtreecommitdiff
path: root/games/blobwars
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-15 18:11:39 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:40 -0400
commit418910b40c865c7458d5fa66e4d294362d6c83ed (patch)
tree06a234236f015197e03eb58b7dde0b660f5f4438 /games/blobwars
parentfc90ba636e076681a6f9da7a0d28198944f6576b (diff)
games/blobwars Updated for version 1.19.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/blobwars')
-rw-r--r--games/blobwars/blobwars.SlackBuild13
-rw-r--r--games/blobwars/blobwars.info8
2 files changed, 10 insertions, 11 deletions
diff --git a/games/blobwars/blobwars.SlackBuild b/games/blobwars/blobwars.SlackBuild
index e7164471466a..102d1a8498d8 100644
--- a/games/blobwars/blobwars.SlackBuild
+++ b/games/blobwars/blobwars.SlackBuild
@@ -4,7 +4,7 @@
# Written by Tim Dickson tim@tree-of-life.co.uk
PRGNAM=blobwars
-VERSION=${VERSION:-1.18}
+VERSION=${VERSION:-1.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,20 +55,19 @@ if [ "$ARCH" = "x86_64" ]; then
sed -i -e 's/-g games//' -e 's/-Werror//' makefile
fi
+# Fix doc installation path
+sed -i 's/share\/doc/doc/' makefile
+
# Compile the application and install it into the $PKG directory
-make
+RELEASE=1 make
make install DESTDIR=$PKG
# Strip binaries and libraries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Copy program documentation into the package
# Also, include the SlackBuild script in the documentation directory
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- $PKG/usr/share/doc \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Copy the slack-desc and doinst.sh into ./install
diff --git a/games/blobwars/blobwars.info b/games/blobwars/blobwars.info
index 1d286b567d19..601eddd3611d 100644
--- a/games/blobwars/blobwars.info
+++ b/games/blobwars/blobwars.info
@@ -1,8 +1,8 @@
PRGNAM="blobwars"
-VERSION="1.18"
-HOMEPAGE="http://parallelrealities.co.uk/projects/blobWars.php"
-DOWNLOAD="http://downloads.sourceforge.net/project/blobwars/blobwars-1.18.tar.gz"
-MD5SUM="b6e8b7e628533bf32912587bc6666012"
+VERSION="1.19"
+HOMEPAGE="http://www.parallelrealities.co.uk/p/blob-wars-metal-blob-solid.html"
+DOWNLOAD="http://downloads.sourceforge.net/blobwars/blobwars-1.19.tar.gz"
+MD5SUM="87e8aaa114b6e4742ea6ee28e7a7f984"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""