From 2d8c4c44185a682290ccde4d23132ae3acf01678 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Jun 2011 22:47:10 +0000 Subject: Thu Jun 2 22:47:10 UTC 2011 --- community/supertux/PKGBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'community/supertux/PKGBUILD') 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 ' 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 } -- cgit v1.2.3-54-g00ecf