diff options
Diffstat (limited to 'community/supertuxkart')
-rw-r--r-- | community/supertuxkart/PKGBUILD | 19 |
1 files changed, 8 insertions, 11 deletions
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 <sh@lutzhaase.com> # Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com> # Contributor: Allan McRae <allan@archlinux.org> @@ -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 } |