From 418910b40c865c7458d5fa66e4d294362d6c83ed Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 15 Sep 2012 18:11:39 +0200 Subject: games/blobwars Updated for version 1.19. Signed-off-by: Matteo Bernardini --- games/blobwars/blobwars.SlackBuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'games/blobwars/blobwars.SlackBuild') 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 -- cgit v1.2.3