2010-12-24 08:20:06 +08:00
|
|
|
#
|
|
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=supertuxkart
|
|
|
|
_pkgname=SuperTuxKart
|
Added new version of Enet, 1.2.4, with rebuild of 0 A.D., Lips of Suna, Speed Dreams, and SuperTuxKart. Lips of Suna was also upgraded to its latest version, 0.3.1. Also, SuperTuxKart was upgraded to its latest version, 0.7.1b, which also meant Irrlicht was replaced by a SVN version of itself, and SuperTuxKart packages for tracks and karts were removed, since they can be installed from the game itself.
2011-06-03 14:07:34 +08:00
|
|
|
pkgver=0.7.1b
|
|
|
|
_pkgver=0.7.1
|
|
|
|
pkgrel=1
|
2010-12-24 08:20:06 +08:00
|
|
|
pkgdesc="Kart racing game featuring Tux and friends."
|
|
|
|
url="http://supertuxkart.sourceforge.net/"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL3' 'GPL2' 'CCPL-by' 'CCPL-by-sa' 'custom:Creative Commons Sampling Plus 1.0' 'custom:FreeArt License' 'custom:SoundSnap license' 'custom:Public Domain')
|
Added new version of Enet, 1.2.4, with rebuild of 0 A.D., Lips of Suna, Speed Dreams, and SuperTuxKart. Lips of Suna was also upgraded to its latest version, 0.3.1. Also, SuperTuxKart was upgraded to its latest version, 0.7.1b, which also meant Irrlicht was replaced by a SVN version of itself, and SuperTuxKart packages for tracks and karts were removed, since they can be installed from the game itself.
2011-06-03 14:07:34 +08:00
|
|
|
depends=('enet' 'irrlicht' 'libgl' 'libogg' 'libvorbis' 'openal')
|
2010-12-24 08:20:06 +08:00
|
|
|
conflicts=('supertuxkart-svn')
|
|
|
|
changelog=ChangeLog
|
Added new version of Enet, 1.2.4, with rebuild of 0 A.D., Lips of Suna, Speed Dreams, and SuperTuxKart. Lips of Suna was also upgraded to its latest version, 0.3.1. Also, SuperTuxKart was upgraded to its latest version, 0.7.1b, which also meant Irrlicht was replaced by a SVN version of itself, and SuperTuxKart packages for tracks and karts were removed, since they can be installed from the game itself.
2011-06-03 14:07:34 +08:00
|
|
|
source=(http://downloads.sourceforge.net/project/$pkgname/$_pkgname/$_pkgver/$pkgname-$pkgver-src.tar.bz2)
|
|
|
|
md5sums=('8538d147d3178035be6e1519a509e4f5')
|
2010-12-24 08:20:06 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
Added new version of Enet, 1.2.4, with rebuild of 0 A.D., Lips of Suna, Speed Dreams, and SuperTuxKart. Lips of Suna was also upgraded to its latest version, 0.3.1. Also, SuperTuxKart was upgraded to its latest version, 0.7.1b, which also meant Irrlicht was replaced by a SVN version of itself, and SuperTuxKart packages for tracks and karts were removed, since they can be installed from the game itself.
2011-06-03 14:07:34 +08:00
|
|
|
LDFLAGS="-lpng -ljpeg" \
|
|
|
|
LIBS="-lbz2" \
|
2010-12-24 08:20:06 +08:00
|
|
|
./configure \
|
Added new version of Enet, 1.2.4, with rebuild of 0 A.D., Lips of Suna, Speed Dreams, and SuperTuxKart. Lips of Suna was also upgraded to its latest version, 0.3.1. Also, SuperTuxKart was upgraded to its latest version, 0.7.1b, which also meant Irrlicht was replaced by a SVN version of itself, and SuperTuxKart packages for tracks and karts were removed, since they can be installed from the game itself.
2011-06-03 14:07:34 +08:00
|
|
|
--prefix=/usr \
|
|
|
|
--datadir=/usr/share
|
2010-12-24 08:20:06 +08:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
make DESTDIR=$pkgdir install
|
Added new version of Enet, 1.2.4, with rebuild of 0 A.D., Lips of Suna, Speed Dreams, and SuperTuxKart. Lips of Suna was also upgraded to its latest version, 0.3.1. Also, SuperTuxKart was upgraded to its latest version, 0.7.1b, which also meant Irrlicht was replaced by a SVN version of itself, and SuperTuxKart packages for tracks and karts were removed, since they can be installed from the game itself.
2011-06-03 14:07:34 +08:00
|
|
|
|
|
|
|
# Add executable link from /usr/bin
|
|
|
|
mkdir -p $pkgdir/usr/bin/
|
|
|
|
echo "#!/bin/bash" > $pkgname
|
|
|
|
echo "/usr/games/$pkgname" >> $pkgname
|
|
|
|
chmod +x ./$pkgname
|
2010-12-24 08:20:06 +08:00
|
|
|
}
|