summaryrefslogtreecommitdiff
path: root/community/supertux/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-05 02:24:00 -0700
committerroot <root@rshg054.dnsready.net>2013-08-05 02:24:00 -0700
commitb3923b26c3d37257246fea13bdb1151c96cb2fe4 (patch)
tree868c0a9f4649cfc0849318696f440a10bc412d9b /community/supertux/PKGBUILD
parent639c9730319cc0ce33e34e2386f467f67d3cc458 (diff)
Mon Aug 5 02:23:17 PDT 2013
Diffstat (limited to 'community/supertux/PKGBUILD')
-rw-r--r--community/supertux/PKGBUILD23
1 files changed, 5 insertions, 18 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD
index c063640de..39454fa29 100644
--- a/community/supertux/PKGBUILD
+++ b/community/supertux/PKGBUILD
@@ -1,33 +1,20 @@
-# $Id: PKGBUILD 94908 2013-08-01 06:55:39Z bpiotrowski $
+# $Id: PKGBUILD 95026 2013-08-03 22:26:22Z svenstaro $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Eric BĂ©langer <eric@archlinux.org>
# Contributor: vande198
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=supertux
-pkgver=0.3.3
-pkgrel=9
+pkgver=0.3.4
+pkgrel=1
pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
arch=('i686' 'x86_64')
url="http://super-tux.sourceforge.net/"
license=('GPL')
depends=('sdl_image' 'curl' 'physfs' 'openal' 'libvorbis' 'glew')
makedepends=('cmake' 'boost' 'mesa' 'optipng')
-source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2
- supertux2-0.3.3-squirrel-gcc47.patch)
-md5sums=('f3f803e629ee51a9de0b366a036e393d'
- 'eb06315514be4f200428f14b927beb66')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -p1 -i "${srcdir}/supertux2-0.3.3-squirrel-gcc47.patch"
- sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
- sed -i '/types\.h/d' src/addon/addon_manager.cpp
-
- # Fix invalid PNG image to work with libpng 1.6
- optipng -quiet -force -fix data/images/creatures/flame_fish/left-0.png
-}
+source=(https://supertux.googlecode.com/files/supertux-${pkgver}.tar.bz2)
+md5sums=('108af4c1fd985e8842a15cd819b9b157')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"