diff options
author | root <root@rshg054.dnsready.net> | 2011-10-31 23:14:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-31 23:14:48 +0000 |
commit | 560562e36a27da267f2f4f7989806790192888ef (patch) | |
tree | f2ce7f5442dd17943646b3844614c48750704018 /community/vdrift/PKGBUILD | |
parent | f935ebf41c626e4832f86c5f3f7ed1cc35128f6b (diff) |
Mon Oct 31 23:14:48 UTC 2011
Diffstat (limited to 'community/vdrift/PKGBUILD')
-rw-r--r-- | community/vdrift/PKGBUILD | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/community/vdrift/PKGBUILD b/community/vdrift/PKGBUILD index 6b72e48c7..cc617662f 100644 --- a/community/vdrift/PKGBUILD +++ b/community/vdrift/PKGBUILD @@ -1,24 +1,22 @@ -# $Id: PKGBUILD 55905 2011-09-24 16:50:06Z stephane $ +# $Id: PKGBUILD 57538 2011-10-30 16:10:55Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Anton Bazhenov <anton.bazhenov at gmail> # Contributor: Lone_Wolf lonewolf@xs4all.nl pkgname=vdrift -pkgver=2011.09.01 -pkgrel=3 +pkgver=2011.10.22 +pkgrel=1 pkgdesc="An 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') makedepends=('scons' 'boost' 'asio') -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-src-${pkgver//./-}.tar.bz2 - $pkgname.desktop) -md5sums=('a4099acacca3d4f0799b012cd168f1c0' - '8bb429f37bcb4aed5e7ab1d80c5a4f93') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver//./-}.tar.bz2) +md5sums=('6f8806ab1be303e9e1e47522c9eee890') build() { - cd "$srcdir"/$pkgname-src-${pkgver//./-} + cd "$srcdir"/$pkgname-${pkgver//./-} # select arch if [ `uname -m` = "x86_64" ]; then @@ -27,8 +25,8 @@ build() { _sconsarch="686" fi - sed -i 's/glGenerateMipmap/glGenerateMipmapEXT/g' src/texture.cpp - sed -i '/types.h/d' src/http.h + #sed -i 's/glGenerateMipmap/glGenerateMipmapEXT/g' src/texture.cpp + #sed -i '/types.h/d' src/http.h # build and install scons \ @@ -37,16 +35,26 @@ build() { "release"=1 \ "force_feedback"=1 \ "prefix"=/usr \ - "datadir"=share/$pkgname/ + "datadir"=share/$pkgname/ \ + "extbullet"=1 } package() { - cd "$srcdir"/$pkgname-src-${pkgver//./-} + cd "$srcdir"/$pkgname-${pkgver//./-} scons install # install .desktop file - install -Dm644 ../$pkgname.desktop \ - "$pkgdir"/usr/share/applications/$pkgname.desktop + install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop + + # 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 + + rm -r $pkgdir/usr/share/vdrift } # vim: sw=2:ts=2 et: |