diff options
author | Photon89 | 2015-06-29 09:13:57 +0200 |
---|---|---|
committer | Photon89 | 2015-06-29 09:13:57 +0200 |
commit | 5f896eaedf8225f1ad5600a20a542c9f014bb537 (patch) | |
tree | 7db9abd299c33d5c13e4d6b9d22a0285bbadd156 | |
download | aur-5f896eaedf8225f1ad5600a20a542c9f014bb537.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 15 | ||||
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | racer-nocg | 39 |
4 files changed, 95 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..5823dafd4797 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,15 @@ +pkgbase = racer-nocg + pkgdesc = Highly realistic 3D car simulator using OpenGL, non-CG version (for older video cards) + pkgver = 0.8.44 + pkgrel = 1 + url = http://racer.nl/ + arch = i686 + arch = x86_64 + license = custom + depends = wine + optdepends = racer-nocg-cars: Additional cars for Racer (Non-CG version) + source = http://www.tracciontrasera.net/descargas/racer/beta/racer0.8.44.7z + source = racer-nocg + +pkgname = racer-nocg + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3348248b4e2c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = racer-nocg + pkgdesc = Highly realistic 3D car simulator using OpenGL, non-CG version (for older video cards) + pkgver = 0.8.44 + pkgrel = 1 + url = http://racer.nl/ + arch = i686 + arch = x86_64 + license = custom + depends = wine + optdepends = racer-nocg-cars: Additional cars for Racer (Non-CG version) + source = http://www.tracciontrasera.net/descargas/racer/beta/racer0.8.44.7z + source = racer-nocg + md5sums = 39c723641e1a01ede76ecd4d92d3c4b2 + md5sums = b4a71622033a9b9bddd2a80e76319bfb + +pkgname = racer-nocg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8bbfcc620519 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Michael Kogan <michael dot kogan at gmx dot net > + + +pkgname=racer-nocg +pkgver=0.8.44 +pkgrel=1 +pkgdesc='Highly realistic 3D car simulator using OpenGL, non-CG version (for older video cards)' +arch=('i686' 'x86_64') +license=(custom) +url='http://racer.nl/' +depends=('wine') +optdepends=('racer-nocg-cars: Additional cars for Racer (Non-CG version)') +source=(http://www.tracciontrasera.net/descargas/racer/beta/racer0.8.44.7z racer-nocg) +md5sums=('39c723641e1a01ede76ecd4d92d3c4b2' 'b4a71622033a9b9bddd2a80e76319bfb') + +package(){ + install -d -m755 "$pkgdir/usr/bin" + install -d -m755 "$pkgdir/opt" + rm -r "$srcdir/racer/max" + rm "$srcdir/racer/racer.pdb" + rm "$srcdir/racer/tracked.pdb" + cp -dr "$srcdir/racer" "$pkgdir/opt/racer-nocg" + install -m 755 "$srcdir/racer-nocg" "$pkgdir/usr/bin/racer-nocg" +} diff --git a/racer-nocg b/racer-nocg new file mode 100644 index 000000000000..b3ace8a68903 --- /dev/null +++ b/racer-nocg @@ -0,0 +1,39 @@ +#!/bin/bash + +unset WINEPREFIX +if [ ! -d "$HOME"/.racer-nocg ] ; then + mkdir -p "$HOME"/.racer-nocg + touch "$HOME"/.racer-nocg/version + echo "0.8.44-1" > "$HOME"/.racer-nocg/version + cp /opt/racer-nocg/racer.ini "$HOME"/.racer-nocg/ + cp /opt/racer-nocg/server.ini "$HOME"/.racer-nocg/ + cp /opt/racer-nocg/lobbyserver.ini "$HOME"/.racer-nocg/ + ln -s /opt/racer-nocg/racer_nocg.exe "$HOME"/.racer-nocg/racer-nocg.exe || exit 1 + ln -s /opt/racer-nocg/racer_nocg.exe "$HOME"/.racer-nocg/racer.exe || exit 1 + ln -s /opt/racer-nocg/restart.exe "$HOME"/.racer-nocg/restart.exe || exit 1 + ln -s /opt/racer-nocg/fmodex.dll "$HOME"/.racer-nocg/fmodex.dll || exit 1 + ln -s /opt/racer-nocg/cg.dll "$HOME"/.racer-nocg/cg.dll || exit 1 + ln -s /opt/racer-nocg/cgGL.dll "$HOME"/.racer-nocg/cgGL.dll || exit 1 + ln -s /opt/racer-nocg/newton.dll "$HOME"/.racer-nocg/newton.dll || exit 1 + mkdir "$HOME"/.racer-nocg/data || exit 1 + ln -s /opt/racer-nocg/data/audio "$HOME"/.racer-nocg/data/audio || exit 1 + ln -s /opt/racer-nocg/data/cars "$HOME"/.racer-nocg/data/cars || exit 1 + cp -r /opt/racer-nocg/data/controls "$HOME"/.racer-nocg/data/controls || exit 1 + ln -s /opt/racer-nocg/data/drivers "$HOME"/.racer-nocg/data/drivers || exit 1 + mkdir -p "$HOME"/.racer-nocg/data/dump || exit 1 + ln -s /opt/racer-nocg/data/fonts "$HOME"/.racer-nocg/data/fonts || exit 1 + ln -s /opt/racer-nocg/data/gui "$HOME"/.racer-nocg/data/gui || exit 1 + ln -s /opt/racer-nocg/data/images "$HOME"/.racer-nocg/data/images || exit 1 + ln -s /opt/racer-nocg/data/locale "$HOME"/.racer-nocg/data/locale || exit 1 + ln -s /opt/racer-nocg/data/models "$HOME"/.racer-nocg/data/models || exit 1 + ln -s /opt/racer-nocg/data/music "$HOME"/.racer-nocg/data/music || exit 1 + ln -s /opt/racer-nocg/data/physics "$HOME"/.racer-nocg/data/physics || exit 1 + ln -s /opt/racer-nocg/data/plugins "$HOME"/.racer-nocg/data/plugins || exit 1 + ln -s /opt/racer-nocg/data/renderer "$HOME"/.racer-nocg/data/renderer || exit 1 + cp -r /opt/racer-nocg/data/replays "$HOME"/.racer-nocg/data/replays || exit 1 + ln -s /opt/racer-nocg/data/scripts "$HOME"/.racer-nocg/data/scripts || exit 1 + ln -s /opt/racer-nocg/data/tracks "$HOME"/.racer-nocg/data/tracks || exit 1 +fi + +cd "$HOME"/.racer-nocg/ +WINEDEBUG=-all wine racer-nocg.exe "$@"
\ No newline at end of file |