[arch-commits] Commit in supertuxkart/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Apr 3 16:20:54 UTC 2015


    Date: Friday, April 3, 2015 @ 18:20:54
  Author: svenstaro
Revision: 130578

upgpkg: supertuxkart 0.9rc1-1

upstream release 0.9rc1

Modified:
  supertuxkart/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-03 16:00:57 UTC (rev 130577)
+++ PKGBUILD	2015-04-03 16:20:54 UTC (rev 130578)
@@ -5,35 +5,32 @@
 # Contributor: rabyte <rabyte__gmail>
 
 pkgname=supertuxkart
-pkgver=0.8.1
-pkgrel=4
+pkgver=0.9rc1
+pkgrel=1
 pkgdesc='Kart racing game featuring Tux and his friends'
 arch=('i686' 'x86_64')
 url='http://supertuxkart.sourceforge.net/'
 license=('GPL2')
-depends=('openal' 'libvorbis' 'libgl' 'fribidi' 'curl' 'bluez-libs')
+depends=('openal' 'libvorbis' 'mesa-libgl' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu')
 makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2")
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.7z")
 install=supertuxkart.install
-md5sums=('aa31ecf883dc35859eec76c667f1a6d6')
+md5sums=('4d8ee6f7093f819bafc0be95a75f05b2')
 
 build() {
-  cd ${srcdir}/SuperTuxKart-${pkgver}
+  cd ${srcdir}/supertuxkart-${pkgver}
 
-  _fn="data/${pkgname}_desktop.template"
+  _fn="data/${pkgname}.desktop"
   setconf "$_fn" Exec "$pkgname"
   setconf "$_fn" TryExec "$pkgname"
   setconf "$_fn" Icon "$pkgname"_128
 
-  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 .. \
     -DIRRLICHT_DIR="$srcdir/irrlicht" \
+    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS"
 
@@ -41,7 +38,7 @@
 }
 
 package() {
-  cd ${srcdir}/SuperTuxKart-${pkgver}
+  cd ${srcdir}/supertuxkart-${pkgver}
 
   cd build
   make DESTDIR=${pkgdir} install



More information about the arch-commits mailing list