summaryrefslogtreecommitdiff
path: root/community/speed-dreams/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-26 01:16:44 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-26 01:16:44 -0300
commit92155342158c2dbcc0c840325d63d1742d3583ec (patch)
treef0900a2867d221c79742e7a06ca4244a21abf8f3 /community/speed-dreams/PKGBUILD
parent78fa3fcb824603de4b7bc558a423edca6bc18836 (diff)
parente4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/astyle/PKGBUILD community/gavl/PKGBUILD community/lmms/PKGBUILD community/portaudio/PKGBUILD community/redshift/PKGBUILD extra/gnutls/PKGBUILD extra/libglade/PKGBUILD extra/libgnome/PKGBUILD extra/orbit2/PKGBUILD extra/pypgsql/PKGBUILD extra/vlc/PKGBUILD extra/xorg-appres/PKGBUILD extra/xorg-xdriinfo/PKGBUILD extra/xorg-xfs/PKGBUILD extra/xorg-xgamma/PKGBUILD extra/xorg-xhost/PKGBUILD extra/xorg-xkbevd/PKGBUILD extra/xorg-xkbutils/PKGBUILD extra/xorg-xload/PKGBUILD extra/xorg-xlogo/PKGBUILD extra/xorg-xlsatoms/PKGBUILD extra/xorg-xlsclients/PKGBUILD extra/xorg-xmag/PKGBUILD extra/xorg-xmodmap/PKGBUILD extra/xorg-xrdb/PKGBUILD extra/xorg-xrefresh/PKGBUILD extra/xorg-xsetroot/PKGBUILD extra/xorg-xvidtune/PKGBUILD extra/xorg-xwd/PKGBUILD extra/xorg-xwud/PKGBUILD extra/zile/PKGBUILD multilib/wine/PKGBUILD testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'community/speed-dreams/PKGBUILD')
-rw-r--r--community/speed-dreams/PKGBUILD35
1 files changed, 14 insertions, 21 deletions
diff --git a/community/speed-dreams/PKGBUILD b/community/speed-dreams/PKGBUILD
index 871903e03..f23ec6e64 100644
--- a/community/speed-dreams/PKGBUILD
+++ b/community/speed-dreams/PKGBUILD
@@ -1,57 +1,50 @@
-# $Id: PKGBUILD 63748 2012-02-05 12:11:31Z ibiru $
+# $Id: PKGBUILD 66408 2012-02-24 13:26:23Z 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.0b1
-_pkgver=2.0.0-b1-r3937
-pkgrel=2
+pkgver=2.0.0rc1
+_pkgver=2.0.0-rc1-r4420
+pkgrel=1
pkgdesc="A racing simulator with rich graphics and physics"
arch=('i686' 'x86_64' 'mips64el')
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"
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-src-base-${_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=('5299fe23aec3641827039ae3c69de460'
- '6b45e9c40984ebb79a1dfaddbfabde92')
+md5sums=('bce029b4519d590dfa35ed83348475cd'
+ 'f4d155ff8463c61860f767823ae314ad'
+ '9f7bbb22fbc1c18548ae616dfc06f0b0'
+ 'ca6edc5a2f420214e826e8d112967495'
+ '634f8cb8f4f96686c8049c8a025e72d0')
build() {
- 7z x ${pkgname}-${_pkgver}-src.tar.7z
- tar xf ${pkgname}-${_pkgver}-src.tar
-
- cd "${pkgname}-${_pkgver}-src"
-
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSD_BINDIR=/usr/bin \
-DSD_DATADIR=/usr/share/speed-dreams-2 \
-DSD_LIBDIR=/usr/lib/speed-dreams-2 \
- -DOPTION_OFFICIAL_ONLY:BOOL=ON
+ -DOPTION_OFFICIAL_ONLY=ON
make
}
package() {
- cd "$srcdir/${pkgname}-${_pkgver}-src"
-
make DESTDIR="${pkgdir}/" install
rm -r "${pkgdir}/usr/share"
install -Dm644 "data/data/icons/icon.png" "${pkgdir}/usr/share/pixmaps/speed-dreams.png"
- install -Dm644 "data/data/icons/icon.svg" "${pkgdir}/usr/share/pixmaps/speed-dreams.svg"
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}/"
- rm -r "${pkgdir}/usr/share/doc/${pkgname}/man"
-
- mkdir -p "${pkgdir}/usr/share/man/man6/${pkgname}"
- cp doc/man/* "${pkgdir}/usr/share/man/man6/${pkgname}"
# Symlink for backwards compatibility
cd "${pkgdir}/usr/bin"