summaryrefslogtreecommitdiff
path: root/community/supertux/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-02 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-08-02 00:01:47 +0000
commite8f5b2ea6983e7a97c1640e9e211f356b8b5d21b (patch)
treef454ed3270ca5f6171ffc277c784aaecf9ddb6d1 /community/supertux/PKGBUILD
parenta71961a43ef48f47d3575915f63099308a18a263 (diff)
Thu Aug 2 00:01:47 UTC 2012
Diffstat (limited to 'community/supertux/PKGBUILD')
-rw-r--r--community/supertux/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD
index 9d6b2ecc0..9f3f95509 100644
--- a/community/supertux/PKGBUILD
+++ b/community/supertux/PKGBUILD
@@ -1,23 +1,27 @@
+# $Id: PKGBUILD 74627 2012-07-31 19:57:01Z ebelanger $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
-# Contributor: Eric Belanger <belanger@astro.umontreal.ca>
+# Contributor: Eric BĂ©langer <eric@archlinux.org>
# Contributor: vande198
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=supertux
pkgver=0.3.3
-pkgrel=5
+pkgrel=6
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' 'libgl' 'glew')
makedepends=('cmake' 'boost')
-source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('f3f803e629ee51a9de0b366a036e393d')
+source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2
+ supertux2-0.3.3-squirrel-gcc47.patch)
+md5sums=('f3f803e629ee51a9de0b366a036e393d'
+ 'eb06315514be4f200428f14b927beb66')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ 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
cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
@@ -25,7 +29,7 @@ build() {
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
}