summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Tim Dickson (timsoft) <tim@tree-of-life.co.uk>2010-03-03 14:18:09 -0600
committer Erik Hanson <erik@slackbuilds.org>2010-05-13 13:23:45 +0200
commit062666e2daa3cc06e69293e0e0bbc560a4c61f96 (patch)
tree8611b46d1590d912c9f2bb3f7e5c44facbf10fa1 /games
parentec687f85746923f341e7f599d6eefc7ef76045b6 (diff)
downloadslackbuilds-062666e2daa3cc06e69293e0e0bbc560a4c61f96.tar.gz
slackbuilds-062666e2daa3cc06e69293e0e0bbc560a4c61f96.tar.xz
games/blobwars: Updated for version 1.16.
Diffstat (limited to 'games')
-rw-r--r--games/blobwars/README16
-rw-r--r--games/blobwars/blobwars.SlackBuild25
-rw-r--r--games/blobwars/blobwars.desktop4
-rw-r--r--games/blobwars/blobwars.info8
-rw-r--r--games/blobwars/doinst.sh6
-rw-r--r--games/blobwars/slack-desc2
6 files changed, 31 insertions, 30 deletions
diff --git a/games/blobwars/README b/games/blobwars/README
index aed63632e0..260f86d214 100644
--- a/games/blobwars/README
+++ b/games/blobwars/README
@@ -1,8 +1,12 @@
blobwars Metal Blob Solid episode 1 is a platform game in which you
-have to collect MIA (missing in action) blobs scattered around many
-areas. There are other things to collect, keys to open doors, bosses
-at the end of different levels, etcetera. You can also re-visit levels
-to collect things you missed earlier.
+have to collect MIA's missing in action) blobs scattered arround many
+areas. There are other things to collect, keys to open doors, bosses
+at the end of different levels etc. You can also re-visit levels to
+collect things you missed earlier.
-The program is GPL and the data (graphics etc) are free for use with
-this program, but not free for any other use.
+The program is GPL and the data (graphics etc) is free for use with this
+program but not free for any other use. The game depends on SDL, SDL_image,
+SDL_mixer, SDL_TTF, and FreeType. All dependancies are included in slackware
+12.2/13 in the SDL and freetype packages.
+
+This game is produced by parallelrealities.co.uk
diff --git a/games/blobwars/blobwars.SlackBuild b/games/blobwars/blobwars.SlackBuild
index 1a4c0d3164..3e262642e1 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.14}
+VERSION=${VERSION:-1.16}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -26,7 +26,6 @@ elif [ "$ARCH" = "x86_64" ]; then
fi
set -e # Exit on most errors
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -44,13 +43,11 @@ if [ "$ARCH" = "x86_64" ]; then
sed -i -e 's/-g games//' -e 's/-Werror//' makefile
fi
-make \
- CFLAGS="$SLKCFLAGS" \
- DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
-make install \
- DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION \
- DESTDIR=$PKG
+# Compile the application and install it into the $PKG directory
+make
+make install DESTDIR=$PKG
+# Strip binaries and libraries
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
@@ -58,15 +55,19 @@ make install \
xargs strip --strip-unneeded 2> /dev/null
)
-# Add build script to package docs
+# 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Fixup permissions in the package; no need for games group on anything
-chown -R root:root $PKG
-
+# Copy the slack-desc and doinst.sh into ./install
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+# Make the package; be sure to leave it in $OUTPUT
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/blobwars/blobwars.desktop b/games/blobwars/blobwars.desktop
index f95c60e18a..dc2497effa 100644
--- a/games/blobwars/blobwars.desktop
+++ b/games/blobwars/blobwars.desktop
@@ -1,5 +1,7 @@
[Desktop Entry]
-Categories=Game;
+Encoding=UTF-8
+Categories=Application;Game;
+X-Desktop-File-Install-Version=1.0
Name=Metal Blob Solid
Icon=blobwars
Exec=blobwars
diff --git a/games/blobwars/blobwars.info b/games/blobwars/blobwars.info
index fd53991bfd..a31a0cdf03 100644
--- a/games/blobwars/blobwars.info
+++ b/games/blobwars/blobwars.info
@@ -1,10 +1,10 @@
PRGNAM="blobwars"
-VERSION="1.14"
+VERSION="1.16"
HOMEPAGE="http://parallelrealities.co.uk/projects/blobWars.php"
-DOWNLOAD="http://parallelrealities.co.uk/download/blobwars/blobwars-1.14-1.tar.gz"
-MD5SUM="c4133a08d49d63b518e70d67b88fb8be"
+DOWNLOAD="http://www.parallelrealities.co.uk/download/blobwars/blobwars-1.16-1.tar.gz"
DOWNLOAD_x86_64=""
+MD5SUM="0d2814934b7313098a659047f404b6f6"
MD5SUM_x86_64=""
MAINTAINER="Tim Dickson (timsoft)"
EMAIL="tim@tree-of-life.co.uk"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"
diff --git a/games/blobwars/doinst.sh b/games/blobwars/doinst.sh
index 1f8ff67ded..4e8ba7071d 100644
--- a/games/blobwars/doinst.sh
+++ b/games/blobwars/doinst.sh
@@ -2,9 +2,3 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/games/blobwars/slack-desc b/games/blobwars/slack-desc
index 536619c0f6..5ccbbeec39 100644
--- a/games/blobwars/slack-desc
+++ b/games/blobwars/slack-desc
@@ -6,7 +6,7 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-blobwars: Blobwars:Episode 1 Metal Blob Solid
+blobwars: Blobwars Episode 1 Metal Blob Solid (An SDL based platform game)
blobwars:
blobwars: Since their world was invaded by an alien race, the Blobs have faced
blobwars: a lifetime of war. But now they have a chance to win the war once