summaryrefslogtreecommitdiff
path: root/community/supertux/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-02 22:47:10 +0000
committerroot <root@rshg047.dnsready.net>2011-06-02 22:47:10 +0000
commit2d8c4c44185a682290ccde4d23132ae3acf01678 (patch)
treec23dfddada868c72eb548f8159b7fd0b1179e02c /community/supertux/PKGBUILD
parente7b9c9697e6a50c3b9e78941fa95ba11c716d238 (diff)
Thu Jun 2 22:47:10 UTC 2011
Diffstat (limited to 'community/supertux/PKGBUILD')
-rw-r--r--community/supertux/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD
index 48159914c..dbcd690af 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')
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
}