[arch-commits] Commit in torcs/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Dec 7 01:25:37 UTC 2015
Date: Monday, December 7, 2015 @ 02:25:36
Author: bpiotrowski
Revision: 149477
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 149476, torcs/trunk/PKGBUILD)
torcs/repos/community-staging-i686/torcs.sh
(from rev 149476, torcs/trunk/torcs.sh)
torcs/repos/community-staging-x86_64/
torcs/repos/community-staging-x86_64/PKGBUILD
(from rev 149476, torcs/trunk/PKGBUILD)
torcs/repos/community-staging-x86_64/torcs.sh
(from rev 149476, torcs/trunk/torcs.sh)
-----------------------------------+
community-staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-staging-i686/torcs.sh | 2 ++
community-staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-staging-x86_64/torcs.sh | 2 ++
4 files changed, 68 insertions(+)
Copied: torcs/repos/community-staging-i686/PKGBUILD (from rev 149476, torcs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 01:25:36 UTC (rev 149477)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgname=torcs
+pkgver=1.3.6
+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)
+md5sums=('e39e33052caa8a11094091f2cdf7b528')
+
+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.sh (from rev 149476, torcs/trunk/torcs.sh)
===================================================================
--- community-staging-i686/torcs.sh (rev 0)
+++ community-staging-i686/torcs.sh 2015-12-07 01:25:36 UTC (rev 149477)
@@ -0,0 +1,2 @@
+#!/bin/bash
+export PATH=$PATH:/opt/torcs/bin
Copied: torcs/repos/community-staging-x86_64/PKGBUILD (from rev 149476, torcs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-07 01:25:36 UTC (rev 149477)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgname=torcs
+pkgver=1.3.6
+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)
+md5sums=('e39e33052caa8a11094091f2cdf7b528')
+
+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.sh (from rev 149476, torcs/trunk/torcs.sh)
===================================================================
--- community-staging-x86_64/torcs.sh (rev 0)
+++ community-staging-x86_64/torcs.sh 2015-12-07 01:25:36 UTC (rev 149477)
@@ -0,0 +1,2 @@
+#!/bin/bash
+export PATH=$PATH:/opt/torcs/bin
More information about the arch-commits
mailing list