summaryrefslogtreecommitdiff
path: root/community/torcs
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-25 12:00:05 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-25 12:00:05 -0300
commitd59c722c306fa39fcecf011b411b77faffca5cbd (patch)
treed6a3582523245b624d1a905d4b46d8344429e617 /community/torcs
parent939541abc901bd03328b55aaed0fb1862f803c05 (diff)
parent5894dd675f4bd3ba296d262fae99b3b87a0f87fd (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gri/PKGBUILD community/multiget/PKGBUILD core/bash/PKGBUILD core/grep/PKGBUILD extra/ffmpeg/PKGBUILD extra/vlc/PKGBUILD extra/xfce4-screenshooter/PKGBUILD extra/xfce4-settings/PKGBUILD libre/linux-libre/PKGBUILD libre/linux-libre/dib0700-fix.patch libre/linux-libre/i915-fix-ghost-tv-output.patch libre/linux-libre/i915-fix-incorrect-error-message.patch libre/linux-libre/iwlagn-fix-NULL-pointer-dereference.patch libre/linux-libre/linux-libre.install libre/linux-libre/usb-add-reset-resume-quirk-for-several-webcams.patch
Diffstat (limited to 'community/torcs')
-rw-r--r--community/torcs/PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/torcs/PKGBUILD b/community/torcs/PKGBUILD
index ea76e1c56..63a03d633 100644
--- a/community/torcs/PKGBUILD
+++ b/community/torcs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 32627 2010-11-15 22:59:24Z lcarlier $
+# $Id: PKGBUILD 59309 2011-11-23 10:18:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Shahar Weiss <sweiss4@gmx.net>
@@ -12,8 +12,8 @@ arch=('i686' 'x86_64' 'mips64el')
depends=('freeglut' 'libpng' 'freealut' 'libxi' 'libxmu' 'libxrandr' 'torcs-data')
makedepends=('plib')
options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2 \
- torcs.desktop \
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver/_/-}.tar.bz2
+ torcs.desktop
torcs-gcc.patch)
md5sums=('978b908a42ff6bc235a791bba3fa66b9'
'328e419e9f985c3e7b69924fe299330d'
@@ -21,20 +21,15 @@ md5sums=('978b908a42ff6bc235a791bba3fa66b9'
build() {
cd $srcdir/$pkgname-${pkgver/_/-}
-
- export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
+ unset LDFLAGS
./configure --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib
-
make
}
package() {
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 {} \;
}