From 263456faded79c609ba6395c85ad6af0e75535f0 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 29 Jan 2017 19:11:25 +0100 Subject: games/frozen-bubble: Fix stripping of binaries. Signed-off-by: Heinz Wiesinger --- games/frozen-bubble/frozen-bubble.SlackBuild | 8 ++++++-- games/frozen-bubble/slack-desc | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'games/frozen-bubble') diff --git a/games/frozen-bubble/frozen-bubble.SlackBuild b/games/frozen-bubble/frozen-bubble.SlackBuild index 50cbcd8f9e..bb2968ab6f 100644 --- a/games/frozen-bubble/frozen-bubble.SlackBuild +++ b/games/frozen-bubble/frozen-bubble.SlackBuild @@ -2,7 +2,8 @@ # # Slackware build script for Frozen Bubble # -# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +25,7 @@ PRGNAM=frozen-bubble VERSION=905bf71 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -92,6 +93,9 @@ cp -a share/icons/$PRGNAM-icon-32x32.png $PKG/usr/share/icons/hicolor/32x32/$PRG cp -a share/icons/$PRGNAM-icon-48x48.png $PKG/usr/share/icons/hicolor/48x48/$PRGNAM.png cp -a share/icons/$PRGNAM-icon-64x64.png $PKG/usr/share/icons/hicolor/64x64/$PRGNAM.png +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true diff --git a/games/frozen-bubble/slack-desc b/games/frozen-bubble/slack-desc index d0f39eda91..7c3dd8a6ce 100644 --- a/games/frozen-bubble/slack-desc +++ b/games/frozen-bubble/slack-desc @@ -14,6 +14,6 @@ frozen-bubble: nights of 2p/3p/4p/5p game over LAN or Internet, a level- frozen-bubble: editor, 3 professional quality digital soundtracks, 15 stereo frozen-bubble: sound effects, 8 unique graphical transition effects, 8 unique frozen-bubble: logo eye-candies. -frozen-bubble: This game requires SDL_perl and SDL_Pango, also available at -frozen-bubble: http://slackbuilds.org/ +frozen-bubble: frozen-bubble: Homepage: http://www.frozen-bubble.org/ +frozen-bubble: -- cgit v1.2.3-65-gdbad