diff options
Diffstat (limited to 'extra/neverball')
-rw-r--r-- | extra/neverball/ChangeLog | 50 | ||||
-rw-r--r-- | extra/neverball/PKGBUILD | 52 |
2 files changed, 102 insertions, 0 deletions
diff --git a/extra/neverball/ChangeLog b/extra/neverball/ChangeLog new file mode 100644 index 000000000..d4c6561ca --- /dev/null +++ b/extra/neverball/ChangeLog @@ -0,0 +1,50 @@ +2010-01-18 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.4-2 + * Rebuilt for libpng 1.4 and libjpeg 8 + +2009-09-20 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.4-1 + * Upstream update + +2009-09-08 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.3-1 + * Upstream update + +2009-08-16 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.2-1 + * Upstream update + * Added physfs depends + * Fixed file permissions + +2009-08-08 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.1-2.1 + * Built i686 package without sse (close FS#15849) + +2009-07-01 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.1-2 + * Rebuilt against libjpeg 7 + +2009-04-08 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.1-1 + * Upstream update + * Removed sdl_image and sdl_mixer depends: not needed anymore + * Added libpng, libjpeg and libvorbis depends + +2009-02-03 Eric Belanger <eric@archlinux.org> + + * neverball 1.5.0-1 + * Upstream update + * Updated url + * Added mesa makedepends + * Switched to upstream desktop file and icons + * Removed wrapper scripts + * Added mapc binary + * Added locales, man pages and docs + * Added ChangeLog diff --git a/extra/neverball/PKGBUILD b/extra/neverball/PKGBUILD new file mode 100644 index 000000000..126f2b0c0 --- /dev/null +++ b/extra/neverball/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 63937 2010-01-19 04:44:36Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Ben <contrasutra@myrealbox.com> + +pkgname=neverball +pkgver=1.5.4 +pkgrel=2 +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' 'physfs') +makedepends=('mesa') +source=(http://neverball.org/${pkgname}-${pkgver}.tar.gz) +md5sums=('c523b0f72c2035831310e821162f7bd7') +sha1sums=('619c227e1958bd60738f12dbbde9b30c91dd79a7') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + 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 DATADIR=/usr/share/neverball SSE_CFLAGS="" || return 1 + else + make ENABLE_NLS=1 DATADIR=/usr/share/neverball || return 1 + fi + + install -D -m755 neverball "${pkgdir}/usr/bin/neverball" || return 1 + install -D -m755 neverputt "${pkgdir}/usr/bin/neverputt" || return 1 + install -D -m755 mapc "${pkgdir}/usr/bin/mapc" || return 1 + + 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 + + install -d "${pkgdir}/usr/share/applications" + install -d "${pkgdir}/usr/share/pixmaps" + install -m644 dist/*.desktop "${pkgdir}/usr/share/applications/" || return 1 + install -m644 dist/*.png "${pkgdir}/usr/share/pixmaps/" || return 1 + ln -s neverball_48.png "${pkgdir}/usr/share/pixmaps/neverball.png" || return 1 + ln -s neverputt_48.png "${pkgdir}/usr/share/pixmaps/neverputt.png" || return 1 + + install -d "${pkgdir}/usr/share/doc/neverball" + install -m644 doc/* "${pkgdir}/usr/share/doc/neverball/" || return 1 + + install -D -m644 dist/mapc.1 "${pkgdir}/usr/share/man/man1/mapc.1" || return 1 + install -D -m644 dist/neverball.6 "${pkgdir}/usr/share/man/man6/neverball.6" || return 1 + install -D -m644 dist/neverputt.6 "${pkgdir}/usr/share/man/man6/neverputt.6" || return 1 +} |