diff options
Diffstat (limited to 'community/speed-dreams')
-rw-r--r-- | community/speed-dreams/PKGBUILD | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/community/speed-dreams/PKGBUILD b/community/speed-dreams/PKGBUILD index 341e200f1..b50775e4f 100644 --- a/community/speed-dreams/PKGBUILD +++ b/community/speed-dreams/PKGBUILD @@ -1,30 +1,45 @@ -# $Id: PKGBUILD 111148 2014-05-14 18:33:17Z svenstaro $ +# $Id: PKGBUILD 115539 2014-07-12 02:28:30Z svenstaro $ # 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.0 -_pkgver=2.0.0-r4687 -pkgrel=4 +pkgver=2.1.0 +_pkgver=2.1.0-r5799 +pkgrel=1 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' 'glu') -makedepends=('cmake' 'p7zip' 'mesa') +depends=('sdl' 'freealut' 'freeglut' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'plib>=1.8.3' 'libjpeg' 'zlib' 'enet' 'speed-dreams-data' 'libvorbis' 'glu') +makedepends=('cmake' 'tar' 'mesa') + +noextract=("${pkgname}-src-base-${_pkgver}.tar.xz" + "${pkgname}-src-unmaintained-${_pkgver}.tar.xz" + "${pkgname}-src-wip-cars-and-tracks-${_pkgver}.tar.xz" + "${pkgname}-src-hq-cars-and-tracks-${_pkgver}.tar.xz" + "${pkgname}-src-more-hq-cars-and-tracks-${_pkgver}.tar.xz") source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-src-base-${_pkgver}.tar.xz" "http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-src-unmaintained-${_pkgver}.tar.xz" "http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-src-wip-cars-and-tracks-${_pkgver}.tar.xz" "http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-src-hq-cars-and-tracks-${_pkgver}.tar.xz" "http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-src-more-hq-cars-and-tracks-${_pkgver}.tar.xz" "${pkgname}.desktop") -md5sums=('a6842887fc289ed6057be2ba9d2afaa2' - '8505c46aae6ce56a43353b8899d40ce4' - 'edcc842291737dbb13a3083252bf51d4' - '57cf5c475491294ce1fb249e2dc0273b' - 'c8ab7ef068fa3fbe67d2b3246b30ea8a' +md5sums=('4e45e6ebf35b5afe52be4c4d24e670a7' + '293ff3117d9b82d7a509bb935cdd4d4b' + '1f4f32f726ee27fce30bbcd91c611b7f' + '09efa3454b1b0812169b5714821279e8' + '71f4be0d2b5589c32deb9b3686e69128' '634f8cb8f4f96686c8049c8a025e72d0') +prepare() { + # extract these manually as bsdtar can't handle these + tar xf "${pkgname}-src-base-${_pkgver}.tar.xz" + tar xf "${pkgname}-src-unmaintained-${_pkgver}.tar.xz" + tar xf "${pkgname}-src-wip-cars-and-tracks-${_pkgver}.tar.xz" + tar xf "${pkgname}-src-hq-cars-and-tracks-${_pkgver}.tar.xz" + tar xf "${pkgname}-src-more-hq-cars-and-tracks-${_pkgver}.tar.xz" +} + build() { cmake . \ -DCMAKE_BUILD_TYPE=Release \ |