[Lunar-commits] <moonbase> lbreakout2: version bumped to 2.6.2.

Florin Braescu florin at lunar-linux.org
Wed Oct 6 07:49:46 CEST 2010


commit c2bb15a5f93649901f4d3e9c0c88d91ec2d85705
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Oct 6 08:49:46 2010 +0300

    lbreakout2: version bumped to 2.6.2.
---
 games/lbreakout2/BUILD   |   24 +++++++++++++++---------
 games/lbreakout2/DEPENDS |    4 ++--
 games/lbreakout2/DETAILS |   32 ++++++++++++++++----------------
 3 files changed, 33 insertions(+), 27 deletions(-)

diff --git a/games/lbreakout2/BUILD b/games/lbreakout2/BUILD
index c5593cb..5e0c1ae 100644
--- a/games/lbreakout2/BUILD
+++ b/games/lbreakout2/BUILD
@@ -1,13 +1,19 @@
 (
-  ./configure --prefix=/usr                                \
-              --datadir=/usr/share/games                   \
-              --localstatedir=/usr/share/games/lbreakout2  \
-              --with-doc-path=/usr/share/doc/lbreakout2    \
-              $OPTS                                       &&
-              
+
+  default_game_config  &&
+
+  # Untangle Makefile, and use xpm icon
+  sed -i -e "s:/usr/share/games/locale:/usr/share/locale:" \
+         -e "s:localedir = \$(datadir)/locale:localedir = /usr/share/locale:" \
+         -e "s:icondir = \$(datadir)/icons:icondir = /usr/share/icons:" \
+         -e "s:desktopdir = \$(datadir)/applications:desktopdir = /usr/share/applications:" Makefile po/Makefile intl/Makefile  &&
+
   default_make  &&
-  mv /usr/bin/lbreakout2 /usr/games  &&
-  mv /usr/bin/lbreakout2server /usr/games  &&
+
+  # Fix permissions on hiscore file
+  chown root:games /var/games/lbreakout2.hscr  &&
+  chmod 660        /var/games/lbreakout2.hscr  &&
+
   mv $SOURCE_CACHE/$SOURCE2  /usr/share/games/lbreakout2/levels  &&
   mv $SOURCE_CACHE/$SOURCE3  /usr/share/games/lbreakout2/levels  &&
   mv $SOURCE_CACHE/$SOURCE4  /usr/share/games/lbreakout2/levels  &&
@@ -18,6 +24,6 @@
   mv $SOURCE_CACHE/$SOURCE9  /usr/share/games/lbreakout2/levels  &&
   mv $SOURCE_CACHE/$SOURCE10 /usr/share/games/lbreakout2/levels  &&
   mv $SOURCE_CACHE/$SOURCE11 /usr/share/games/lbreakout2/levels  &&
-  mv $SOURCE_CACHE/$SOURCE12 /usr/share/games/lbreakout2/levels  
+  mv $SOURCE_CACHE/$SOURCE12 /usr/share/games/lbreakout2/levels
 
 ) > $C_FIFO 2>&1
diff --git a/games/lbreakout2/DEPENDS b/games/lbreakout2/DEPENDS
index 155d454..ef059d1 100644
--- a/games/lbreakout2/DEPENDS
+++ b/games/lbreakout2/DEPENDS
@@ -4,8 +4,8 @@ depends  SDL
 optional_depends  SDL_mixer            \
                   "--enable-audio"     \
                   "--disable-audio"    \
-                  "Enable sound" 
-		  
+                  "Enable sound"
+
 optional_depends  SDL_net              \
                   "--enable-network"   \
                   "--disable-network"  \
diff --git a/games/lbreakout2/DETAILS b/games/lbreakout2/DETAILS
index 3014728..527d7bc 100644
--- a/games/lbreakout2/DETAILS
+++ b/games/lbreakout2/DETAILS
@@ -1,5 +1,5 @@
           MODULE=lbreakout2
-         VERSION=2.5.2
+         VERSION=2.6.2
           SOURCE=$MODULE-$VERSION.tar.gz
          SOURCE2=BeOS-4ever
          SOURCE3=Bombs
@@ -12,24 +12,24 @@
         SOURCE10=R-World
         SOURCE11=Runes
         SOURCE12=Wolvie
-      SOURCE_URL=$SFORGE_URL/lgames/
-     SOURCE2_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE3_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE4_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE5_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE6_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE7_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE8_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-     SOURCE9_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-    SOURCE10_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-    SOURCE11_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-    SOURCE12_URL=http://lgames.sourceforge.net/LBreakout2/levels/
-      SOURCE_VFY=sha1:50a7627c7373178a04467c292e83a1c8e7dc58c6
+      SOURCE_URL=$SFORGE_URL/lgames
+     SOURCE2_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE3_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE4_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE5_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE6_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE7_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE8_URL=http://lgames.sourceforge.net/LBreakout2/levels
+     SOURCE9_URL=http://lgames.sourceforge.net/LBreakout2/levels
+    SOURCE10_URL=http://lgames.sourceforge.net/LBreakout2/levels
+    SOURCE11_URL=http://lgames.sourceforge.net/LBreakout2/levels
+    SOURCE12_URL=http://lgames.sourceforge.net/LBreakout2/levels
+      SOURCE_VFY=sha1:dc0bdde272351945b48a09277275ac3fd5d513f4
            PSAFE=no
         WEB_SITE=http://lgames.sourceforge.net/index.php?project=LBreakout2
          ENTERED=20020501
-         UPDATED=20051212
-           SHORT="brick breaking game."
+         UPDATED=20101006
+           SHORT="A brick breaking game"
 
 cat << EOF
 LBreakout is a nice breakout-style arcade game in the manner of Arkanoid.


More information about the Lunar-commits mailing list