[arch-commits] Commit in neverball/trunk (ChangeLog PKGBUILD)

Eric Bélanger eric at archlinux.org
Mon Aug 17 05:17:40 UTC 2009


    Date: Monday, August 17, 2009 @ 01:17:40
  Author: eric
Revision: 49944

upgpkg: neverball 1.5.2-1
    Upstream update, Added physfs depends, Fixed file permissions

Modified:
  neverball/trunk/ChangeLog
  neverball/trunk/PKGBUILD

-----------+
 ChangeLog |    7 +++++++
 PKGBUILD  |   16 ++++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2009-08-17 03:43:40 UTC (rev 49943)
+++ ChangeLog	2009-08-17 05:17:40 UTC (rev 49944)
@@ -1,3 +1,10 @@
+2009-08-16  Eric Belanger  <eric at archlinux.org>
+
+	* neverball 1.5.2-1
+	* Upstream update
+	* Added physfs depends
+	* Fixed file permissions
+
 2009-08-08  Eric Belanger  <eric at archlinux.org>
 
 	* neverball 1.5.1-2.1

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-17 03:43:40 UTC (rev 49943)
+++ PKGBUILD	2009-08-17 05:17:40 UTC (rev 49944)
@@ -3,27 +3,26 @@
 # Contributor: Ben <contrasutra at myrealbox.com>
 
 pkgname=neverball
-pkgver=1.5.1
-pkgrel=2.1
+pkgver=1.5.2
+pkgrel=1
 pkgdesc="3D game similar to Super Monkey Ball or Marble Madness"
 arch=('i686' 'x86_64')
 url="http://neverball.org/"
 license=('GPL')
-depends=('sdl_ttf' 'libgl' 'libpng' 'libjpeg>=7' 'libvorbis')
+depends=('sdl_ttf' 'libgl' 'libpng' 'libjpeg>=7' 'libvorbis' 'physfs')
 makedepends=('mesa')
 source=(http://neverball.org/${pkgname}-${pkgver}.tar.gz)
-md5sums=('ebb0bda6914a7d1b2038bd03f4eb40eb')
-sha1sums=('de313befcceb3bd4c0275bb0b1b23f8e0f3080c5')
+md5sums=('d9105d6b1b524629d91ed7dca554c7c8')
+sha1sums=('d40e76eec51c4fe59b4fe9a542d698669b555386')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i 's|#define CONFIG_DATA   "./data"|#define CONFIG_DATA   "/usr/share/neverball"|' share/base_config.h || return 1
   sed -i 's|#define CONFIG_LOCALE "./locale"|#define CONFIG_LOCALE "/usr/share/locale"|' share/base_config.h || return 1
 
   if [ "${CARCH}" = "i686" ] ;then
-    make ENABLE_NLS=1 SSE_CFLAGS="" || return 1
+    make ENABLE_NLS=1 DATADIR=/usr/share/neverball SSE_CFLAGS="" || return 1
   else
-    make ENABLE_NLS=1 || return 1
+    make ENABLE_NLS=1 DATADIR=/usr/share/neverball || return 1
   fi
 
   install -D -m755 neverball "${pkgdir}/usr/bin/neverball" || return 1
@@ -32,6 +31,7 @@
 
   install -d "${pkgdir}/usr/share/neverball"
   cp -r data/* "${pkgdir}/usr/share/neverball/" || return 1
+  find "${pkgdir}/usr/share/neverball" -type f -exec chmod 0644 {} \;
 
   install -d "${pkgdir}/usr/share/locale"
   cp -r locale/* "${pkgdir}/usr/share/locale/" || return 1




More information about the arch-commits mailing list