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
|
|
|
#
|
|
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
|
|
|
|
pkgname=speed-dreams-data
|
|
|
|
_pkgname=speed-dreams
|
|
|
|
pkgver=1.4.0
|
|
|
|
_pkgver=1.4.0-r2307 # For managing files and directories
|
2011-06-22 14:03:30 +08:00
|
|
|
pkgrel=2
|
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
|
|
|
pkgdesc="A racing simulator with rich graphics and physics (data files)."
|
|
|
|
arch=('any')
|
|
|
|
url="http://speed-dreams.sourceforge.net/"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=()
|
2011-07-04 19:10:19 +08:00
|
|
|
makedepends=('enet' 'freealut' 'freeglut' 'libpng' 'libxmu' 'libxrandr' 'libxrender' 'plib>=1.8.3' 'libjpeg' 'zlib')
|
|
|
|
source=("http://sourceforge.net/projects/${_pkgname}/files/${pkgver}/${_pkgname}-${_pkgver}-src.tar.bz2/download")
|
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
|
|
|
md5sums=('92c324c2c47a598dea9278d9a66c5b78')
|
|
|
|
|
|
|
|
build() {
|
2011-07-04 19:10:19 +08:00
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}-src"
|
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
|
|
|
|
|
|
|
unset LDFLAGS MAKEFLAGS
|
|
|
|
|
|
|
|
./configure \
|
2011-07-04 19:10:19 +08:00
|
|
|
--prefix="/usr/share/${_pkgname}" \
|
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
|
|
|
--x-includes=/usr/include \
|
|
|
|
--x-libraries=/usr/lib
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-07-04 19:10:19 +08:00
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}-src"
|
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
|
|
|
|
2011-07-04 19:10:19 +08:00
|
|
|
make DESTDIR="${pkgdir}" install datainstall
|
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
|
|
|
|
2011-07-04 19:10:19 +08:00
|
|
|
rm -r "${pkgdir}/usr/share/${_pkgname}/bin"
|
|
|
|
rm -r "${pkgdir}/usr/share/${_pkgname}/lib"
|
|
|
|
find "${pkgdir}" -type d -exec chmod 755 {} \;
|
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
|
|
|
}
|
2011-07-04 19:10:19 +08:00
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|