[Lunar-commits] <moonbase> BASS: ver 1.2 and cleanup

Paul Bredbury brebs at lunar-linux.org
Sat Jan 29 08:47:38 CET 2011


commit 3800ba02dc8bc383581ef79da4f98783d97eec75
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Jan 29 14:47:38 2011 +0700

    BASS: ver 1.2 and cleanup
---
 games/BASS/BUILD   |   34 ++++++++++++++++++++++++++++------
 games/BASS/DETAILS |   17 +++++++++--------
 2 files changed, 37 insertions(+), 14 deletions(-)

diff --git a/games/BASS/BUILD b/games/BASS/BUILD
index 1f77ba6..743d86a 100644
--- a/games/BASS/BUILD
+++ b/games/BASS/BUILD
@@ -1,9 +1,31 @@
-( 
+(
 
-  prepare_install  && 
-  mkdir -p /usr/share/games/scummvm/BASS       &&
-  install sky.* /usr/share/games/scummvm/BASS  &&
-  install $SOURCE_CACHE/$SOURCE2 /usr/share/games/scummvm/BASS  &&
-  message "Game data installed into /usr/share/games/BASS, use scummvm to play, see README for details."
+  prepare_install &&
+
+  mkdir -p /usr/share/games/scummvm/BASS &&
+  install -m 644 sky.* /usr/share/games/scummvm/BASS/ &&
+
+  # Startup script, with sensible defaults
+  cat > bass << EOF &&
+#!/bin/sh
+exec scummvm -f -g supereagle "\$@" -p /usr/share/games/scummvm/BASS sky
+EOF
+
+  install -D -m 755 bass /usr/games/bass &&
+
+  # Desktop menu entry
+  cat > bass.desktop << EOF &&
+[Desktop Entry]
+Type=Application
+Name=Beneath a Steel Sky
+Comment=$SHORT
+Exec=bass
+Icon=bass
+Categories=Game;AdventureGame;
+EOF
+
+  install -D -m644 bass.desktop /usr/share/applications/bass.desktop &&
+
+  gather_docs readme.txt
 
 ) > $C_FIFO 2>&1
diff --git a/games/BASS/DETAILS b/games/BASS/DETAILS
index f2c1bde..2511f67 100644
--- a/games/BASS/DETAILS
+++ b/games/BASS/DETAILS
@@ -1,14 +1,15 @@
           MODULE=BASS
-         VERSION=CD
-          SOURCE=$MODULE-$VERSION.zip
-         SOURCE2=sky.cpt
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/sky-cd
-      SOURCE_URL=$SFORGE_URL/scummvm/
-     SOURCE2_URL=https://scummvm.svn.sourceforge.net/svnroot/scummvm/engine-data/tags/release-0-10-0/
-      SOURCE_VFY=sha1:312420860a12ce9276cafdbf87e88a1ee6aa2ade
+         VERSION=1.2
+          SOURCE=bass-cd-$VERSION.zip
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/bass-cd-$VERSION
+   SOURCE_URL[0]=$SFORGE_URL/scummvm
+   SOURCE_URL[1]=http://mirror.internode.on.net/pub/gentoo/distfiles
+   SOURCE_URL[2]=http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles
+   SOURCE_URL[3]=ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles
+      SOURCE_VFY=sha1:6cf6548cb89f051f7d8024e4e06bb799f9f4dcf1
         WEB_SITE=http://www.scummvm.org/
          ENTERED=20031219
-         UPDATED=20051101
+         UPDATED=20110128
            SHORT="Beneath a Steel Sky, Freeware CD Version for scummvm"
 
 cat << EOF


More information about the Lunar-commits mailing list