[Lunar-commits] <moonbase> frozen-bubble: ver 2.2.0

Paul Bredbury brebs at lunar-linux.org
Wed Jan 26 12:50:17 CET 2011


commit 0e32b790e85eba04c852cc23cb15eb12a5264ad2
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Wed Jan 26 18:50:17 2011 +0700

    frozen-bubble: ver 2.2.0
    
    Added desktop entry and icon.
---
 games/frozen-bubble/BUILD   |   34 ++++++++++++++++++++++++++++------
 games/frozen-bubble/DETAILS |   15 +++++++++------
 2 files changed, 37 insertions(+), 12 deletions(-)

diff --git a/games/frozen-bubble/BUILD b/games/frozen-bubble/BUILD
index 447837e..df79622 100644
--- a/games/frozen-bubble/BUILD
+++ b/games/frozen-bubble/BUILD
@@ -1,12 +1,34 @@
 (
 
   unset CPP &&
-  CFLAGS="$CFLAGS `pkg-config glib-2.0 --cflags`" &&
+  CFLAGS+=" `pkg-config glib-2.0 --cflags`" &&
 
-  sedit  "s:/usr/local:/usr:"      settings.mk  &&
-  sedit  "s:/share:/share/games:"  settings.mk  &&
-  sedit  "s:/bin:/games:"          settings.mk  &&
+  sedit  "s:/usr/local:/usr:"      settings.mk &&
+  sedit  "s:/share:/share/games:"  settings.mk &&
+  sedit  "s:/bin:/games:"          settings.mk &&
+
+  default_game_build &&
+
+  install -m644 icons/frozen-bubble-icon-16x16.png /usr/share/icons/hicolor/16x16/apps/frozen-bubble.png &&
+  install -m644 icons/frozen-bubble-icon-32x32.png /usr/share/icons/hicolor/32x32/apps/frozen-bubble.png &&
+  install -m644 icons/frozen-bubble-icon-48x48.png /usr/share/icons/hicolor/48x48/apps/frozen-bubble.png &&
+  install -m644 icons/frozen-bubble-icon-64x64.png /usr/share/icons/hicolor/64x64/apps/frozen-bubble.png &&
+
+  # Desktop menu entry
+  cat > $MODULE.desktop << EOF &&
+[Desktop Entry]
+Type=Application
+Name=Frozen Bubble
+Comment=$SHORT
+Exec=$MODULE
+Icon=$MODULE
+Categories=Game;ArcadeGame;
+EOF
+
+  install -D -m644 $MODULE.desktop /usr/share/applications/$MODULE.desktop &&
+
+  if [[ -x /usr/bin/gtk-update-icon-cache ]] ; then
+    gtk-update-icon-cache -f /usr/share/icons/hicolor/
+  fi
 
-  default_make
- 
 ) > $C_FIFO 2>&1
diff --git a/games/frozen-bubble/DETAILS b/games/frozen-bubble/DETAILS
index 9642479..344f290 100644
--- a/games/frozen-bubble/DETAILS
+++ b/games/frozen-bubble/DETAILS
@@ -1,16 +1,19 @@
           MODULE=frozen-bubble
-         VERSION=2.1.0
+         VERSION=2.2.0
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=http://www.frozen-bubble.org/data
-      SOURCE_VFY=sha1:4fa45612e430f65d996b89959fdfbda9d629eb3e
+      SOURCE_VFY=sha1:df5a8c839a76fd662777925b2eb80fcb8adf3fa6
         WEB_SITE=http://www.frozen-bubble.org/
          ENTERED=20020629
-         UPDATED=20061203
+         UPDATED=20110124
            SHORT="A tux marble game with fancy graphics"
 
 cat << EOF
 Full-featured, colorful animated penguin eyecandy, 50 levels of 1p game,
-hours and hours of 2p game, 3 professional quality 20-channels musics,
-15 stereo sound effects, 7 unique graphical transition effects.
-You need this game. 
+hours and hours of 2p game, 3 professional-quality 20-channel music
+tracks, 15 stereo sound effects, 7 unique graphical transition effects.
+You need this game.
+
+The nasty build order required is:
+lrm smpeg ; lin -c SDL_perl frozen-bubble
 EOF


More information about the Lunar-commits mailing list