[Lunar-commits] <moonbase> Phun: Version bump and a few other adjustments.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu May 6 17:05:48 CEST 2010


commit 1fb26dce50129f4176ad382bba8893a7758ff1bd
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu May 6 11:05:48 2010 -0400

    Phun: Version bump and a few other adjustments.
---
 games/Phun/BUILD          |   26 +++++++++++++++++++-------
 games/Phun/DETAILS        |   12 ++++++------
 games/Phun/DETAILS.x86_64 |   18 ++++++++++++++++++
 3 files changed, 43 insertions(+), 13 deletions(-)

diff --git a/games/Phun/BUILD b/games/Phun/BUILD
index 398e997..107f15f 100644
--- a/games/Phun/BUILD
+++ b/games/Phun/BUILD
@@ -1,11 +1,23 @@
 (
 
-cd $SOURCE_DIRECTORY &&
-rm -f lib* &&
-ln -fs /usr/lib/libGLEW.so.1.5 /usr/lib/libGLEW.so.1.3 &&
-prepare_install &&
-mkdir -p /opt/games/Phun &&
-cp -af * /opt/games/Phun &&
-rm -rf /opt/games/Phun/old.libraries
+  cd $SOURCE_DIRECTORY &&
+  ln -fs /usr/lib/libGLEW.so.1.5 /usr/lib/libGLEW.so.1.3 &&
+
+  prepare_install &&
+  mkdir -p /opt/games/Phun &&
+  cp -af * /opt/games/Phun &&
+
+  # Desktop menu entry
+  cat > ${MODULE}.desktop << EOF  &&
+[Desktop Entry]
+Type=Application
+Name=Phun
+Comment=A fun 2D physics sandbox
+Exec=/opt/games/Phun/phun.bin
+Icon=/opt/games/Phun/textures/phun.png
+Categories=Game;
+EOF
+
+  install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop 
 
 ) > $C_FIFO 2>&1
diff --git a/games/Phun/DETAILS b/games/Phun/DETAILS
index 471d171..64de022 100644
--- a/games/Phun/DETAILS
+++ b/games/Phun/DETAILS
@@ -1,12 +1,12 @@
           MODULE=Phun
-         VERSION=beta_4_22
-          SOURCE=${MODULE}_${VERSION}_linux32.tar.bz2
-        WEB_SITE=http://www.phunland.com/
-      SOURCE_URL=http://www.phunland.com/download/
-      SOURCE_VFY=sha1:e800307ca6231a593f7f5cf4249e3cbc3b1d8c4a
+         VERSION=beta_5_28
+          SOURCE=${MODULE}_${VERSION}_linux32.tgz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+      SOURCE_URL=http://www.phunland.com/download/
+      SOURCE_VFY=sha1:5606d86e24c031e9616b27d8a95e731004f44c8d
+        WEB_SITE=http://www.phunland.com/
          ENTERED=20080305
-         UPDATED=20080826
+         UPDATED=20100506
            SHORT="A fun 2D physics sandbox"
 cat << EOF
 Phun is meant to be a playground
diff --git a/games/Phun/DETAILS.x86_64 b/games/Phun/DETAILS.x86_64
new file mode 100644
index 0000000..4036707
--- /dev/null
+++ b/games/Phun/DETAILS.x86_64
@@ -0,0 +1,18 @@
+          MODULE=Phun
+         VERSION=beta_5_28
+          SOURCE=${MODULE}_${VERSION}_linux64.tgz
+      SOURCE_URL=http://www.phunland.com/download/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+      SOURCE_VFY=sha1:4313a94f436c40a5fefc02361c4389b9415669ed
+        WEB_SITE=http://www.phunland.com/
+         ENTERED=20080305
+         UPDATED=20100506
+           SHORT="A fun 2D physics sandbox"
+
+cat << EOF
+Phun is meant to be a playground
+where people can be creative.
+It can also be used as an educational tool
+to learn about physics concepts such as
+restitution and friction.
+EOF


More information about the Lunar-commits mailing list