[arch-commits] Commit in torcs/repos (8 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Apr 29 15:59:11 UTC 2013
Date: Monday, April 29, 2013 @ 17:59:11
Author: spupykin
Revision: 89502
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
torcs/repos/community-staging-i686/
torcs/repos/community-staging-i686/PKGBUILD
(from rev 89501, torcs/trunk/PKGBUILD)
torcs/repos/community-staging-i686/torcs.desktop
(from rev 89501, torcs/trunk/torcs.desktop)
torcs/repos/community-staging-i686/torcs.sh
(from rev 89501, torcs/trunk/torcs.sh)
torcs/repos/community-staging-x86_64/
torcs/repos/community-staging-x86_64/PKGBUILD
(from rev 89501, torcs/trunk/PKGBUILD)
torcs/repos/community-staging-x86_64/torcs.desktop
(from rev 89501, torcs/trunk/torcs.desktop)
torcs/repos/community-staging-x86_64/torcs.sh
(from rev 89501, torcs/trunk/torcs.sh)
----------------------------------------+
community-staging-i686/PKGBUILD | 34 +++++++++++++++++++++++++++++++
community-staging-i686/torcs.desktop | 9 ++++++++
community-staging-i686/torcs.sh | 2 +
community-staging-x86_64/PKGBUILD | 34 +++++++++++++++++++++++++++++++
community-staging-x86_64/torcs.desktop | 9 ++++++++
community-staging-x86_64/torcs.sh | 2 +
6 files changed, 90 insertions(+)
Copied: torcs/repos/community-staging-i686/PKGBUILD (from rev 89501, torcs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-04-29 15:59:11 UTC (rev 89502)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgname=torcs
+pkgver=1.3.4
+pkgrel=2
+pkgdesc="A 3D racing cars simulator using OpenGL"
+url="http://torcs.sourceforge.net"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('freeglut' 'libpng' 'freealut' 'libxi' 'libxmu' 'libxrandr' 'libvorbis' 'glu')
+makedepends=('plib' 'mesa')
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2
+ torcs.desktop)
+md5sums=('07dbc9c53e2b177be1f53fe97d53d039'
+ '328e419e9f985c3e7b69924fe299330d')
+
+build() {
+ cd $srcdir/$pkgname-${pkgver/_/-}
+ unset LDFLAGS
+ ./configure --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib
+ make
+}
+
+package() {
+ depends=(${depends[@]} "torcs-data=$pkgver")
+ cd $srcdir/$pkgname-${pkgver/_/-}
+ make DESTDIR=${pkgdir} install
+ install -D -m644 Ticon.png ${pkgdir}/usr/share/pixmaps/torcs.png
+ install -D -m644 ../torcs.desktop ${pkgdir}/usr/share/applications/torcs.desktop
+ find ${pkgdir} -type d -exec chmod 755 {} \;
+}
Copied: torcs/repos/community-staging-i686/torcs.desktop (from rev 89501, torcs/trunk/torcs.desktop)
===================================================================
--- community-staging-i686/torcs.desktop (rev 0)
+++ community-staging-i686/torcs.desktop 2013-04-29 15:59:11 UTC (rev 89502)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=TORCS
+Comment=The Open Racing Car Simulator
+Exec=torcs
+Icon=torcs.png
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Application;Game;
Copied: torcs/repos/community-staging-i686/torcs.sh (from rev 89501, torcs/trunk/torcs.sh)
===================================================================
--- community-staging-i686/torcs.sh (rev 0)
+++ community-staging-i686/torcs.sh 2013-04-29 15:59:11 UTC (rev 89502)
@@ -0,0 +1,2 @@
+#!/bin/bash
+export PATH=$PATH:/opt/torcs/bin
Copied: torcs/repos/community-staging-x86_64/PKGBUILD (from rev 89501, torcs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-04-29 15:59:11 UTC (rev 89502)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgname=torcs
+pkgver=1.3.4
+pkgrel=2
+pkgdesc="A 3D racing cars simulator using OpenGL"
+url="http://torcs.sourceforge.net"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('freeglut' 'libpng' 'freealut' 'libxi' 'libxmu' 'libxrandr' 'libvorbis' 'glu')
+makedepends=('plib' 'mesa')
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2
+ torcs.desktop)
+md5sums=('07dbc9c53e2b177be1f53fe97d53d039'
+ '328e419e9f985c3e7b69924fe299330d')
+
+build() {
+ cd $srcdir/$pkgname-${pkgver/_/-}
+ unset LDFLAGS
+ ./configure --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib
+ make
+}
+
+package() {
+ depends=(${depends[@]} "torcs-data=$pkgver")
+ cd $srcdir/$pkgname-${pkgver/_/-}
+ make DESTDIR=${pkgdir} install
+ install -D -m644 Ticon.png ${pkgdir}/usr/share/pixmaps/torcs.png
+ install -D -m644 ../torcs.desktop ${pkgdir}/usr/share/applications/torcs.desktop
+ find ${pkgdir} -type d -exec chmod 755 {} \;
+}
Copied: torcs/repos/community-staging-x86_64/torcs.desktop (from rev 89501, torcs/trunk/torcs.desktop)
===================================================================
--- community-staging-x86_64/torcs.desktop (rev 0)
+++ community-staging-x86_64/torcs.desktop 2013-04-29 15:59:11 UTC (rev 89502)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=TORCS
+Comment=The Open Racing Car Simulator
+Exec=torcs
+Icon=torcs.png
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Application;Game;
Copied: torcs/repos/community-staging-x86_64/torcs.sh (from rev 89501, torcs/trunk/torcs.sh)
===================================================================
--- community-staging-x86_64/torcs.sh (rev 0)
+++ community-staging-x86_64/torcs.sh 2013-04-29 15:59:11 UTC (rev 89502)
@@ -0,0 +1,2 @@
+#!/bin/bash
+export PATH=$PATH:/opt/torcs/bin
More information about the arch-commits
mailing list