diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/speed-dreams | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/speed-dreams')
-rw-r--r-- | community-testing/speed-dreams/PKGBUILD | 24 | ||||
-rw-r--r-- | community-testing/speed-dreams/speed-dreams.desktop | 2 |
2 files changed, 16 insertions, 10 deletions
diff --git a/community-testing/speed-dreams/PKGBUILD b/community-testing/speed-dreams/PKGBUILD index 757a901fe..db818e3be 100644 --- a/community-testing/speed-dreams/PKGBUILD +++ b/community-testing/speed-dreams/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 54504 2011-08-19 10:27:23Z svenstaro $ +# $Id: PKGBUILD 63286 2012-01-30 19:08:35Z ibiru $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Adrián Chaves Fernández, aka Gallaecio <adriyetichaves@gmail.com> # Contributor: Shahar Weiss <sweiss4@gmx.net> (build() code from his TORCS' PKGBUILD) pkgname=speed-dreams -pkgver=2.0.0a3 -_pkgver=2.0.0-a3-r3412 -pkgrel=1 +pkgver=2.0.0b1 +_pkgver=2.0.0-b1-r3937 +pkgrel=2 pkgdesc="A racing simulator with rich graphics and physics" arch=('i686' 'x86_64') url="http://speed-dreams.sourceforge.net/" license=('GPL2') depends=('sdl' 'freealut' 'freeglut' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'plib>=1.8.3' 'libjpeg' 'zlib' 'enet' 'speed-dreams-data') makedepends=('cmake' 'p7zip') +noextract=(${pkgname}-${_pkgver}-src.tar.7z) source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${_pkgver}-src.tar.7z" "${pkgname}.desktop") -md5sums=('659837e8866c59c85279c31fcaba4144' - 'bd5c81bac696ec53628ba42684ef8369') +md5sums=('5299fe23aec3641827039ae3c69de460' + '6b45e9c40984ebb79a1dfaddbfabde92') build() { 7z x ${pkgname}-${_pkgver}-src.tar.7z @@ -28,7 +29,8 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DSD_BINDIR=/usr/bin \ -DSD_DATADIR=/usr/share/speed-dreams-2 \ - -DSD_LIBDIR=/usr/lib/speed-dreams-2 + -DSD_LIBDIR=/usr/lib/speed-dreams-2 \ + -DOPTION_OFFICIAL_ONLY:BOOL=ON make } @@ -45,11 +47,15 @@ package() { install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/speed-dreams.desktop" mkdir -p "${pkgdir}/usr/share/doc/${pkgname}" - cp -r doc "${pkgdir}/usr/share/doc/${pkgname}/" + cp -r doc/* "${pkgdir}/usr/share/doc/${pkgname}/" + rm -r "${pkgdir}/usr/share/doc/${pkgname}/man" mkdir -p "${pkgdir}/usr/share/man/man6/${pkgname}" - rm doc/man/speed-dreams.es.6 cp doc/man/* "${pkgdir}/usr/share/man/man6/${pkgname}" + + # Symlink for backwards compatibility + cd "${pkgdir}/usr/bin" + ln -s speed-dreams-2 speed-dreams } # vim:set ts=2 sw=2 et: diff --git a/community-testing/speed-dreams/speed-dreams.desktop b/community-testing/speed-dreams/speed-dreams.desktop index 8c86d85cc..f04b71791 100644 --- a/community-testing/speed-dreams/speed-dreams.desktop +++ b/community-testing/speed-dreams/speed-dreams.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Name=Speed Dreams Comment=The Open Racing Car Simulator Fork -Exec=speed-dreams +Exec=speed-dreams-2 Icon=speed-dreams.svg Terminal=false Type=Application |