[Lunar-commits] <moonbase-other> paintown: bump and cleanup

v4hn me at v4hn.de
Fri Jul 19 16:05:06 CEST 2013


commit c698277ce98dbeb22cf52aac288ae2a04061c7c8
Author: v4hn <me at v4hn.de>
Date: Fri, 19 Jul 2013 07:04:44 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/c698277ce98dbeb22cf52aac288ae2a04061c7c8

paintown: bump and cleanup
---
  games/paintown/BUILD     | +0/-23    
  games/paintown/DEPENDS   | +4/-2     
  games/paintown/DETAILS   | +4/-4     
  games/paintown/PRE_BUILD | +4/-0     
  4 files changed, 12 insertions(+), 29 deletions(-)

--- a/games/paintown/BUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-(
-
-  # Fix compilation error:
-  # build/menu/option_lives.cpp:56: error: 'sprintf' was not declared in this scope
-  sedit '/globals.h"/a\#include <stdio.h>' src/menu/option_{lives,npc_buddies,speed}.cpp &&
-  sedit '/lit_bitmap.h"/a\#include <stdio.h>' src/util/bitmap.cpp &&
-  sedit "s:-Wall::" SConstruct &&
-  sedit "s:char \* extension:const char \* extension:" src/game.cpp &&
-
-  # Set data path
-  sedit "s:\"data\":\"$MODULE_PREFIX/share/games/paintown\":" src/util/funcs.cpp &&
-  sedit "s:return 'data':return '$MODULE_PREFIX/share/games/paintown':" SConstruct &&
-  sedit "s:\./data/:$MODULE_PREFIX/share/games/paintown:" src/main-menu.cpp src/menu/menutest.cpp &&
-
-  scons DATA_PATH=$MODULE_PREFIX/share/games &&
-
-  prepare_install &&
-  mkdir -p $MODULE_PREFIX/games $MODULE_PREFIX/share/games/paintown &&
-  install -m755 paintown $MODULE_PREFIX/games/paintown &&
-  gather_docs LICENSE TODO LEGAL README &&
-  cp -ar data/* $MODULE_PREFIX/share/games/paintown/
-
-) > $C_FIFO 2>&1
--- a/games/paintown/DEPENDS
+++ b/games/paintown/DEPENDS
@@ -1,5 +1,7 @@
 depends Python
-depends allegro-4
+depends scons
 depends freetype2
 depends libpng
-depends scons
+depends zlib
+
+depends SDL
--- a/games/paintown/DETAILS
+++ b/games/paintown/DETAILS
@@ -1,11 +1,11 @@
           MODULE=paintown
-         VERSION=3.2
-          SOURCE=$MODULE-$VERSION.tar.gz
+         VERSION=3.6.0
+          SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE
-      SOURCE_VFY=sha1:ea817c32cf689f97f480161155bf9f5c1fbd9123
+      SOURCE_VFY=sha1:e036b94f4a31d96f6e4f3255225fd8b048eeb80f
         WEB_SITE=http://paintown.sourceforge.net/
          ENTERED=20090725
-         UPDATED=20090725
+         UPDATED=20130719
            SHORT="Side-scrolling beat-em-up in the style of Beats of Rage"
 
 cat << EOF
--- /dev/null
+++ b/games/paintown/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+
+# don't ask for non-default install locations
+sedit "/read/ d" install.sh




More information about the Lunar-commits mailing list