From 8640bbf496b9d8a232da91e1db43466797f86861 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 19 Mar 2014 04:05:50 +0000 Subject: Wed Mar 19 03:59:18 UTC 2014 --- community/supertuxkart/PKGBUILD | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'community/supertuxkart') diff --git a/community/supertuxkart/PKGBUILD b/community/supertuxkart/PKGBUILD index dfd389c39..585a6966b 100644 --- a/community/supertuxkart/PKGBUILD +++ b/community/supertuxkart/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 102043 2013-12-04 13:01:11Z svenstaro $ +# $Id: PKGBUILD 107574 2014-03-18 04:40:36Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Daenyth # Contributor: Allan McRae @@ -6,7 +6,7 @@ pkgname=supertuxkart pkgver=0.8.1 -pkgrel=3 +pkgrel=4 pkgdesc='Kart racing game featuring Tux and his friends' arch=('i686' 'x86_64') url='http://supertuxkart.sourceforge.net/' @@ -23,22 +23,19 @@ build() { _fn="data/${pkgname}_desktop.template" setconf "$_fn" Exec "$pkgname" setconf "$_fn" TryExec "$pkgname" - setconf "$_fn" Icon "$pkgname"_64 + setconf "$_fn" Icon "$pkgname"_128 - cd lib/irrlicht/source/Irrlicht - NDEBUG=1 make - - cd ${srcdir}/SuperTuxKart-${pkgver} - #sed -i "s|share/games|share|g" CMakeLists.txt + cp /usr/include/GL/glext.h lib/irrlicht/source/Irrlicht/glext.h + cp /usr/include/GL/glxext.h lib/irrlicht/source/Irrlicht/glxext.h + cp /usr/include/GL/wglext.h lib/irrlicht/source/Irrlicht/wglext.h [[ -d build ]] && rm -r build mkdir build && cd build - cmake \ + cmake .. \ -DIRRLICHT_DIR="$srcdir/irrlicht" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \ - .. + -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS" make } -- cgit v1.2.3-54-g00ecf