[Lunar-commits] <moonbase> FOTAQ: ver 1.1 and cleanup

Paul Bredbury brebs at lunar-linux.org
Sat Jan 29 10:25:53 CET 2011


commit 1e90fefb7fed91c028d037463e475d5e68f5c6d8
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Jan 29 16:25:53 2011 +0700

    FOTAQ: ver 1.1 and cleanup
---
 games/FOTAQ/BUILD     |   33 ++++++++++++++++++++++++++++-----
 games/FOTAQ/DETAILS   |   26 +++++++++++++-------------
 games/FOTAQ/PRE_BUILD |    4 ++++
 3 files changed, 45 insertions(+), 18 deletions(-)

diff --git a/games/FOTAQ/BUILD b/games/FOTAQ/BUILD
index 0039c43..af4e530 100644
--- a/games/FOTAQ/BUILD
+++ b/games/FOTAQ/BUILD
@@ -1,8 +1,31 @@
-( 
+(
 
-  prepare_install  &&
-  mkdir -p /usr/share/games/scummvm/FOTAQ         &&
-  install queen.* /usr/share/games/scummvm/FOTAQ  &&
-  message "Game data installed into /usr/share/games/FOTAQ, use scummvm to play, see README for details."
+  prepare_install &&
+
+  mkdir -p /usr/share/games/scummvm/FOTAQ &&
+  install -m 644 queen.1c /usr/share/games/scummvm/FOTAQ/ &&
+
+  # Startup script, with sensible defaults
+  cat > fotaq << EOF &&
+#!/bin/sh
+exec scummvm -f -g supereagle "\$@" -p /usr/share/games/scummvm/FOTAQ queen
+EOF
+
+  install -D -m 755 fotaq /usr/games/fotaq &&
+
+  # Desktop menu entry
+  cat > fotaq.desktop << EOF &&
+[Desktop Entry]
+Type=Application
+Name=Flight of the Amazon Queen
+Comment=$SHORT
+Exec=fotaq
+Icon=fotaq
+Categories=Game;AdventureGame;
+EOF
+
+  install -D -m644 fotaq.desktop /usr/share/applications/fotaq.desktop &&
+
+  gather_docs readme.txt
 
 ) > $C_FIFO 2>&1
diff --git a/games/FOTAQ/DETAILS b/games/FOTAQ/DETAILS
index f661d4a..78ccd0b 100644
--- a/games/FOTAQ/DETAILS
+++ b/games/FOTAQ/DETAILS
@@ -1,25 +1,25 @@
           MODULE=FOTAQ
-         VERSION=Talkie
+         VERSION=Talkie-1.1
           SOURCE=${MODULE}_${VERSION}.zip
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/${MODULE}_${VERSION}
-      SOURCE_URL=$SFORGE_URL/scummvm/
-      SOURCE_VFY=sha1:3121b77422548ed5daf9ec83f46651e9363a1dce
+      SOURCE_URL=$SFORGE_URL/scummvm
+      SOURCE_VFY=sha1:944e4dcf82b1474bd8200dbe4424341e47aebe65
         WEB_SITE=http://www.scummvm.org
          ENTERED=20040505
-         UPDATED=20040505
+         UPDATED=20110128
            SHORT="Flight of the Amazon Queen (Talkie) game for scummvm"
 
 cat << EOF
 A game for scummvm, the freeware version of Flight of the Amazon Queen
 (Talkie).
 
-You assume the role of Joe King, a pilot for hire who is given the job of 
-flying Faye Russell (a famous movie star) into the Amazon jungle for a photo 
-shoot. Of course, things never go according to plans. After an unfortunate 
-turn of events they find themselves stranded in the heart of the Amazon 
-jungle, where Joe will embark on a quest to rescue a kidnapped princess 
-and in the process, discover the true sinister intentions of a suspiciously 
-located Lederhosen company. In a rich 2D environment, Joe will cross paths 
-with a variety of unlikely jungle inhabitants including, but not limited to, 
-a tribe of Amazon women and 6-foot-tall pygmies.
+You assume the role of Joe King, a pilot for hire who is given the job
+of flying Faye Russell (a famous movie star) into the Amazon jungle for
+a photo-shoot. Of course, things never go according to plan. After an
+unfortunate turn of events, they find themselves stranded in the heart
+of the Amazon jungle, where Joe will embark on a quest to rescue a
+kidnapped princess, and in the process, discover the true sinister
+intentions of a suspiciously-located Lederhosen company. In a rich 2D
+environment, Joe will cross paths with a variety of unlikely jungle
+inhabitants, including a tribe of Amazon women and 6-foot-tall pygmies.
 EOF
diff --git a/games/FOTAQ/PRE_BUILD b/games/FOTAQ/PRE_BUILD
new file mode 100644
index 0000000..5a9e541
--- /dev/null
+++ b/games/FOTAQ/PRE_BUILD
@@ -0,0 +1,4 @@
+validate_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE


More information about the Lunar-commits mailing list