summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-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 e716447146..102d1a8498 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 1d286b567d..601eddd361 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=""