Commit 42f6ebd0 authored by chaves's avatar chaves
Browse files

Added 'speed-dreams'.

parent cdf8d984
#
# 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=speed-dreams
pkgver=1.4.0
_pkgver=1.4.0-r2307
pkgrel=1
pkgdesc="Speed Dreams is a fork of TORCS which aims to implement exciting new features, improving visual and physics realism."
arch=('i686' 'x86_64')
url="http://speed-dreams.sourceforge.net/"
license=('GPL2')
depends=('freealut' 'freeglut' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'plib>=1.8.3' 'libjpeg' 'zlib' 'enet')
source=("http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$_pkgver-src.tar.bz2/download"
"$pkgname.sh")
md5sums=('92c324c2c47a598dea9278d9a66c5b78'
'f0f5040a3746084d9967e055afa35f32')
build() {
cd $srcdir/$pkgname-$pkgver-src
unset LDFLAGS
./configure \
--prefix=/opt/$pkgname \
--x-includes=/usr/include \
--x-libraries=/usr/lib
make
}
package() {
cd $srcdir/$pkgname-$pkgver-src
make DESTDIR=$pkgdir/ install datainstall
install -D -m644 icon.png $pkgdir/usr/share/pixmaps/speed-dreams.png
install -D -m755 $srcdir/$pkgname.sh $pkgdir/etc/profile.d/$pkgname.sh
find $pkgdir/ -type d -exec chmod 755 {} \;
}
#!/bin/bash
export PATH=$PATH:/opt/speed-dreams/bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment