diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-19 04:05:50 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-19 04:05:50 +0000 |
commit | 8640bbf496b9d8a232da91e1db43466797f86861 (patch) | |
tree | fcbf174dda4dcdb7026fd6155851740ed939878f /community/supertuxkart | |
parent | bb37a4ecb6bee92615f1312d9907129490105052 (diff) |
Wed Mar 19 03:59:18 UTC 2014
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 } |