From be5ee0dcdad87c5959f5f7419e17924a89091baa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 May 2014 08:48:21 +0200 Subject: [PATCH] neverball: update to 1.6.0. --- .../patches/share_base__image.c.patch | 13 ------------- srcpkgs/neverball/template | 19 ++++++++----------- 2 files changed, 8 insertions(+), 24 deletions(-) delete mode 100644 srcpkgs/neverball/patches/share_base__image.c.patch diff --git a/srcpkgs/neverball/patches/share_base__image.c.patch b/srcpkgs/neverball/patches/share_base__image.c.patch deleted file mode 100644 index 023e096cd33..00000000000 --- a/srcpkgs/neverball/patches/share_base__image.c.patch +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-share_base__image.c,v 1.1 2013/02/26 11:16:19 joerg Exp $ - ---- share/base_image.c.orig 2013-02-25 20:30:28.000000000 +0000 -+++ share/base_image.c -@@ -94,7 +94,7 @@ static void *image_load_png(const char * - default: longjmp(png_jmpbuf(readp), -1); - } - -- if (!(bytep = png_malloc(readp, h * png_sizeof(png_bytep)))) -+ if (!(bytep = png_malloc(readp, h * sizeof(*bytep)))) - longjmp(png_jmpbuf(readp), -1); - - /* Allocate the final pixel buffer and read pixels there. */ diff --git a/srcpkgs/neverball/template b/srcpkgs/neverball/template index 7269fcb473e..e0691c2cb51 100644 --- a/srcpkgs/neverball/template +++ b/srcpkgs/neverball/template @@ -1,28 +1,25 @@ # Template file for 'neverball' pkgname=neverball -version=1.5.4 -revision=9 -makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libvorbis-devel - SDL_ttf-devel physfs-devel" +version=1.6.0 +revision=1 +makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libvorbis-devel SDL2_ttf-devel physfs-devel desktop-file-utils" depends="desktop-file-utils" short_desc="Puzzle/action game similar to Super Monkey Ball" maintainer="Juan RP " homepage="http://www.neverball.org" license="GPL-2" distfiles="http://www.neverball.org/$pkgname-$version.tar.gz" -checksum=ea31ca9f6eec70c8e66eaa20d7ce9e48295fdb077313b97637c503b16b7b0da6 +checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0 do_build() { - HOME=/ LANG=C LC_ALL=C LDFLAGS="-lm -lX11" make ${makejobs} \ - ENABLE_NLS=1 DATADIR=/usr/share/neverball \ - LOCALEDIR=/usr/share/locale + make ${makejobs} ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale } do_install() { for dir in usr/bin usr/share/neverball usr/share/locale \ usr/share/applications usr/share/pixmaps \ usr/share/doc/neverball; do - install -d ${DESTDIR}/${dir} + vmkdir ${dir} done for f in neverball neverputt mapc; do @@ -38,8 +35,8 @@ do_install() { ln -s neverball_48.png ${DESTDIR}/usr/share/pixmaps/neverball.png ln -s neverputt_48.png ${DESTDIR}/usr/share/pixmaps/neverputt.png - install -m644 doc/* ${DESTDIR}/usr/share/doc/neverball + install -m644 doc/manual.txt ${DESTDIR}/usr/share/doc/neverball install -D -m644 dist/mapc.1 ${DESTDIR}/usr/share/man/man1/mapc.1 - install -d ${DESTDIR}/usr/share/man/man6 + vmkdir usr/share/man/man6 install -m644 dist/*.6 ${DESTDIR}/usr/share/man/man6 }