1 # Maintainer: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: rabyte <rabyte__gmail>
4 # Contributor to alpha version: Wiz <wiz@haxx.es>
5 # Contributor since 0.7.3: MCMic <mcmic@free.fr>
7 pkgname=supertuxkart-alpha
10 pkgdesc="A new and improved version of TuxKart, a kart racing game featuring Tux and his friends"
11 arch=('i686' 'x86_64')
12 url="http://supertuxkart.sourceforge.net/"
14 depends=('sdl>=1.2' 'libvorbis' 'freealut' 'libgl' 'freeglut')
15 makedepends=('cmake' 'svn')
16 conflicts=('supertuxkart')
17 source=(http://downloads.sourceforge.net/project/supertuxkart/SuperTuxKart/$pkgver/supertuxkart-$pkgver-src.tar.bz2)
18 md5sums=('502664b2ec9ad5ab88b1882fef4c074d')
23 svn checkout https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@3843 irrlicht
25 cd irrlicht/source/Irrlicht/
26 make STATIC=yes NDEBUG=1
27 cd ${srcdir}/supertuxkart-${pkgver}
29 echo ${srcdir}/irrlicht/
31 cmake -DIRRLICHT_DIR=${srcdir}/irrlicht -DCMAKE_INSTALL_PREFIX=/usr .
32 #~ ./configure --prefix=/usr --datadir=/usr/share || return 1
34 # Fix compilation failure: http://bugs.gentoo.org/283490
35 #~ sed -i 's/-lGL/-lGL -lGLU/' config.status
37 # those configure flags really mean nothing...
38 #~ sed -i "s#/usr/local#/usr#" src/file_manager.cpp
39 #~ sed -i "s#/games##" $(grep -Rl "/games" *)
42 make DESTDIR=${pkgdir} install
44 # fix executable location...
45 #~ install -dm755 ${pkgdir}/usr/bin
46 #~ mv ${pkgdir}/usr/supertuxkart ${pkgdir}/usr/bin/supertuxkart
47 #~ sed -i "s#usr/supertuxkart#usr/bin/supertuxkart#" \
48 #~ ${pkgdir}/usr/share/applications/supertuxkart.desktop
51 # vim:set ts=2 sw=2 et: