summaryrefslogtreecommitdiff
path: root/community-testing/vdrift
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-06-06 14:37:09 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-06-06 14:37:09 +0000
commitc81b3455112a3b09a8341fc8c45a91bd92c15a12 (patch)
tree93c34f7cbae7441700884513f0e5ebcec9c5f512 /community-testing/vdrift
parent3695b5d62c2aef6e82abc95d775a2ebd89bce081 (diff)
Mon Jun 6 14:37:05 UTC 2011
Diffstat (limited to 'community-testing/vdrift')
-rw-r--r--community-testing/vdrift/PKGBUILD66
-rw-r--r--community-testing/vdrift/vdrift.desktop11
2 files changed, 0 insertions, 77 deletions
diff --git a/community-testing/vdrift/PKGBUILD b/community-testing/vdrift/PKGBUILD
deleted file mode 100644
index 41dab8d90..000000000
--- a/community-testing/vdrift/PKGBUILD
+++ /dev/null
@@ -1,66 +0,0 @@
-# $Id: PKGBUILD 47904 2011-05-26 00:55:30Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Lone_Wolf lonewolf@xs4all.nl
-
-pkgname=vdrift
-pkgver=2010.06.30
-pkgrel=3
-pkgdesc="An open source driving simulation made with drift racing in mind"
-arch=('i686' 'x86_64')
-url="http://vdrift.net/"
-license=('GPL')
-depends=('sdl_gfx' 'sdl_image' 'glew' 'libvorbis' 'vdrift-data')
-makedepends=('scons' 'boost' 'asio')
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-${pkgver//./-}/$pkgname-${pkgver//./-}.tar.bz2
- $pkgname.desktop)
-md5sums=('ddcaf90bb25f9ce9cc084d7f467d7b56'
- '8bb429f37bcb4aed5e7ab1d80c5a4f93')
-
-build() {
- cd "$srcdir"/$pkgname-${pkgver//./-}
-
- # select arch
- if [ `uname -m` = "x86_64" ]; then
- _sconsarch="a64"
- else
- _sconsarch="686"
- fi
-
- # patch for crashing with bad drivers
- sed -i 's/glGenerateMipmap/glGenerateMipmapEXT/g' src/texture.cpp
-
- # build and install
- scons \
- "destdir"="$pkgdir" \
- "arch"=$_sconsarch \
- "release"=1 \
- "force_feedback"=1 \
- "prefix"=/usr \
- "datadir"=share/$pkgname/data || return 1
-}
-
-package() {
- cd "$srcdir"/$pkgname-${pkgver//./-}
-
- scons install || return 1
-
- # remove some unneeded files
- find "$pkgdir"/usr/share/$pkgname -name SConscript -delete
-
- # install icons
- install -Dm644 data/textures/icons/$pkgname-16x16.png \
- "$pkgdir"/usr/share/icons/hicolor/16x16/apps/$pkgname.png
- install -Dm644 data/textures/icons/$pkgname-32x32.png \
- "$pkgdir"/usr/share/icons/hicolor/32x32/apps/$pkgname.png
- install -Dm644 data/textures/icons/$pkgname-64x64.png \
- "$pkgdir"/usr/share/icons/hicolor/64x64/apps/$pkgname.png
-
- # install .desktop file
- install -Dm644 ../$pkgname.desktop \
- "$pkgdir"/usr/share/applications/$pkgname.desktop
-
- # delete installed data (will be provided by -data package)
- rm -r "$pkgdir"/usr/share/$pkgname
-}
-# vim: sw=2:ts=2 et:
diff --git a/community-testing/vdrift/vdrift.desktop b/community-testing/vdrift/vdrift.desktop
deleted file mode 100644
index 7078f0d9c..000000000
--- a/community-testing/vdrift/vdrift.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Name=VDrift
-Version=2009-06-15
-GenericName=Racing Simulation
-Comment=An open source driving simulation made with drift racing in mind
-Exec=vdrift
-Icon=vdrift.png
-Terminal=false
-Categories=Game;Simulation;