diff options
Diffstat (limited to 'games/blobwars/blobwars.SlackBuild')
-rw-r--r-- | games/blobwars/blobwars.SlackBuild | 13 |
1 files changed, 6 insertions, 7 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 |