summaryrefslogtreecommitdiff
path: root/community/supertux
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-05 20:20:25 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-05 20:20:25 -0500
commit33c22f43a52aae722ce4d9cbe47f8d2fff31f395 (patch)
tree71f9661d9a843cca28225852f8784e48a2b96cb2 /community/supertux
parentc87732e5659b56943ef4f120d7c71dcaabc3f849 (diff)
parent3695b5d62c2aef6e82abc95d775a2ebd89bce081 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-glew/PKGBUILD testing/iproute2/PKGBUILD
Diffstat (limited to 'community/supertux')
-rw-r--r--community/supertux/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD
index 11665afb4..83d737e9f 100644
--- a/community/supertux/PKGBUILD
+++ b/community/supertux/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=supertux
pkgver=0.3.3
-pkgrel=2
+pkgrel=3
pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
arch=('i686' 'x86_64' 'mips64el')
url="http://super-tux.sourceforge.net/"
@@ -16,12 +16,15 @@ source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f3f803e629ee51a9de0b366a036e393d')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
- make || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
+ cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
}