summaryrefslogtreecommitdiff
path: root/community-testing/vdrift/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/vdrift/PKGBUILD')
-rw-r--r--community-testing/vdrift/PKGBUILD61
1 files changed, 0 insertions, 61 deletions
diff --git a/community-testing/vdrift/PKGBUILD b/community-testing/vdrift/PKGBUILD
deleted file mode 100644
index d869dfaa5..000000000
--- a/community-testing/vdrift/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id: PKGBUILD 75741 2012-08-30 16:56:01Z heftig $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Lone_Wolf lonewolf@xs4all.nl
-
-pkgname=vdrift
-pkgver=2012.07.22
-pkgrel=1
-pkgdesc="Open source driving simulation made with drift racing in mind"
-arch=('i686' 'x86_64')
-url="http://vdrift.net/"
-license=('GPL')
-depends=('bullet' 'curl' 'sdl_gfx' 'sdl_image' 'glew' 'libvorbis' 'vdrift-data'
- 'gtk-update-icon-cache' 'hicolor-icon-theme' 'libarchive')
-makedepends=('scons' 'boost' 'asio')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver//./-}.tar.bz2
- http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver//./-}c_patch.diff)
-md5sums=('fcfd6b65724d32dfe383df216d7afb74'
- '981cd26709f97cdf85100b720290177f')
-
-build() {
- cd VDrift
-
- # select arch
- if [ `uname -m` = "x86_64" ]; then
- _sconsarch="a64"
- else
- _sconsarch="686"
- fi
-
- patch -Np0 < $srcdir/$pkgname-${pkgver//./-}c_patch.diff
-
- # build and install
- scons $MAKEFLAGS \
- "destdir"="$pkgdir" \
- "arch"=$_sconsarch \
- "release"=1 \
- "force_feedback"=1 \
- "prefix"=/usr \
- "datadir"=share/$pkgname/ \
- "extbullet"=1
-}
-
-package() {
- cd VDrift
-
- scons install
-
- # install .desktop file
- install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
- sed -i '1 s/^\xef\xbb\xbf//' "$pkgdir"/usr/share/applications/$pkgname.desktop # remove BOM (WHY IS THERE?)
-
- # install icons
- install -Dm644 data/textures/icons/vdrift-16x16.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/vdrift.png
- install -Dm644 data/textures/icons/vdrift-32x32.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/vdrift.png
- install -Dm644 data/textures/icons/vdrift-64x64.png "$pkgdir"/usr/share/icons/hicolor/64x64/apps/vdrift.png
- install -Dm644 data/textures/icons/vdrift-64x64.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
-
- rm -r "$pkgdir"/usr/share/vdrift
-}
-# vim: sw=2:ts=2 et: