diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2017-01-29 19:11:25 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-04 07:00:19 +0700 |
commit | 263456faded79c609ba6395c85ad6af0e75535f0 (patch) | |
tree | 3945bcf995d589070442daab39ba4a29ea429c30 /games | |
parent | 684d80d40d8345fa28848bb0b68e440795fd1dd2 (diff) |
games/frozen-bubble: Fix stripping of binaries.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/frozen-bubble/frozen-bubble.SlackBuild | 8 | ||||
-rw-r--r-- | games/frozen-bubble/slack-desc | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/games/frozen-bubble/frozen-bubble.SlackBuild b/games/frozen-bubble/frozen-bubble.SlackBuild index 50cbcd8f9ef05..bb2968ab6f812 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 d0f39eda917af..7c3dd8a6ce88a 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: |