[Lunar-commits] <moonbase> neverball: version bump to 1.5.2

Duncan Gibson engelsman at lunar-linux.org
Sat Aug 22 20:06:21 CEST 2009


commit 05aadcaa555c9884515b0f124f6dc226f3cd884d
Author: Paul Bredbury <brebs at sent.com>
Date:   Sat Aug 22 20:06:21 2009 +0200

    neverball: version bump to 1.5.2
    
    Installs manpages and desktop entry.
    
    Note: downloads, compiles and installs,
          but untested as I have no GLX installed - engelsman
---
 games/neverball/BUILD   |   22 ++++++++++++++++------
 games/neverball/DEPENDS |    1 +
 games/neverball/DETAILS |    2 +-
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/games/neverball/BUILD b/games/neverball/BUILD
index 5d613a3..88221fc 100644
--- a/games/neverball/BUILD
+++ b/games/neverball/BUILD
@@ -1,15 +1,25 @@
 (
 
-  sedit "s:#X11_PATH:X11_PATH:" Makefile &&
-  sedit '/CONFIG_DATA/s:"\./data":"/usr/share/games/neverball":g' share/base_config.h &&
+  sedit "s:\./data:/usr/share/games/neverball:" Makefile &&
+  sedit "s:\./locale:/usr/share/locale:" Makefile &&
 
   make             &&
   prepare_install  &&
 
-  mkdir -p /usr/share/games/neverball/       &&
-  cp -fR data/* /usr/share/games/neverball/  &&
+  mkdir -p /usr/share/games/neverball/ /usr/share/man/man6/ &&
+  # Fix permissions on maps, which are messed up during compilation
+  find data/ -type f -exec chmod 644 '{}' \; &&
+  cp -ra data/* /usr/share/games/neverball/  &&
 
-  install -m0755 neverball /usr/games/  &&
-  install -m0755 neverputt /usr/games/
+  install -m0755 -t /usr/games/ neverball neverputt mapc &&
+  install -m0644 -t /usr/share/man/man6/ dist/neverball.6 dist/neverputt.6 &&
+  install -D -m0644 dist/mapc.1 /usr/share/man/man1/mapc.1 &&
+  install -D -m0644 dist/neverball_64.png /usr/share/pixmaps/neverball.png &&
+  install -D -m0644 dist/neverball.desktop /usr/share/applications/neverball.desktop &&
+  
+  mv -f doc/* . &&
+  # Prevent empty doc directory from being included automatically
+  rmdir doc &&
+  gather_docs AUTHORS MANUAL CHANGES README
 
 ) > $C_FIFO 2>&1
diff --git a/games/neverball/DEPENDS b/games/neverball/DEPENDS
index 9922202..4eb4137 100644
--- a/games/neverball/DEPENDS
+++ b/games/neverball/DEPENDS
@@ -2,3 +2,4 @@ depends  SDL_mixer
 depends  SDL_image
 depends  SDL_ttf
 depends  freetype2
+depends  physfs
diff --git a/games/neverball/DETAILS b/games/neverball/DETAILS
index 07f76e4..7bb80c9 100644
--- a/games/neverball/DETAILS
+++ b/games/neverball/DETAILS
@@ -7,7 +7,7 @@
          ENTERED=20040210
          UPDATED=20090817
       MAINTAINER=florin at lunar-linux.org
-           SHORT="A OpenGL game modeled after Super Monkey Ball"
+           SHORT="An OpenGL game modeled after Super Monkey Ball"
  
 cat << EOF
 Tilt the floor to roll a ball through an obstacle course before time


More information about the Lunar-commits mailing list