[Lunar-commits] <moonbase> d2x-rebirth: version bump

Auke Kok sofar at foo-projects.org
Tue Oct 5 06:26:54 CEST 2010


commit ec7ed91e6bc5e8cc1a0d9c6214fc27d22e7a62c3
Author: Paul Bredbury <brebs at sent.com>
Date:   Tue Oct 5 06:26:54 2010 +0200

    d2x-rebirth: version bump
    
    Upstream now provides an icon.
---
 games/d2x-rebirth/BUILD   |   18 +++++++++++++++++-
 games/d2x-rebirth/DETAILS |    7 +++----
 2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/games/d2x-rebirth/BUILD b/games/d2x-rebirth/BUILD
index 3a60693..067e3b8 100644
--- a/games/d2x-rebirth/BUILD
+++ b/games/d2x-rebirth/BUILD
@@ -1,6 +1,8 @@
 (
 
   sedit "/^BIN_DIR =/s/.*/BIN_DIR = '\/usr\/games'/" SConstruct &&
+  # Use same executable filename as the module name
+  sedit "s:d2x-rebirth-gl:d2x-rebirth:" SConstruct &&
   # Replaces dos2unix, to fix line-endings
   sedit 's/\r//' *.txt &&
 
@@ -10,7 +12,21 @@
   prepare_install &&
   scons $opts install &&
   # Create directory for manually-installed data files
-  mkdir -p /usr/share/games/d2x-rebirth/missions
+  mkdir -p /usr/share/games/d2x-rebirth/missions &&
+
+  # Desktop menu entry
+  cat > $MODULE.desktop << EOF  &&
+[Desktop Entry]
+Type=Application
+Name=Descent 2 Rebirth
+Comment=$SHORT
+Exec=$MODULE
+Icon=$MODULE
+Categories=Game;ActionGame;
+EOF
+
+  install -D -m644 $MODULE.desktop /usr/share/applications/$MODULE.desktop &&
+  install -D -m644 $MODULE.xpm     /usr/share/icons/$MODULE.xpm
   
 ) > $C_FIFO 2>&1 
 
diff --git a/games/d2x-rebirth/DETAILS b/games/d2x-rebirth/DETAILS
index 8290f8f..afa0d76 100644
--- a/games/d2x-rebirth/DETAILS
+++ b/games/d2x-rebirth/DETAILS
@@ -1,13 +1,12 @@
           MODULE=d2x-rebirth
-         VERSION=0.55.1
+         VERSION=0.56
           SOURCE=${MODULE}_v${VERSION}-src.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/${MODULE}_v${VERSION}-src
       SOURCE_URL=$SFORGE_URL/dxx-rebirth/
-      SOURCE_VFY=sha1:ac7c9ad3cbe1acb21de65f7e945914ab9ed4ccd2
+      SOURCE_VFY=sha1:29118115a37d8ccfa7240aab1ab83f9576b23b84
         WEB_SITE=http://www.dxx-rebirth.com/
          ENTERED=20090202
-         UPDATED=20090202
-      MAINTAINER=brebs at sent.com
+         UPDATED=20100929
            SHORT="Descent 2 Rebirth - claustrophobic 3D shooter"
 
 cat << EOF


More information about the Lunar-commits mailing list