[arch-commits] Commit in stuntrally/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Feb 26 09:52:44 UTC 2013
Date: Tuesday, February 26, 2013 @ 10:52:44
Author: svenstaro
Revision: 84929
upgpkg: stuntrally 1.9-2
Build against stuntrally-data
Modified:
stuntrally/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++-------------------------
1 file changed, 5 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-26 08:41:07 UTC (rev 84928)
+++ PKGBUILD 2013-02-26 09:52:44 UTC (rev 84929)
@@ -4,21 +4,18 @@
pkgname=stuntrally
pkgver=1.9
-pkgrel=1
+pkgrel=2
pkgdesc="Stunt Rally game with track editor, based on VDrift"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://code.google.com/p/vdrift-ogre"
-depends=('libvorbis' 'mygui' 'sdl' 'enet' 'hicolor-icon-theme' 'libxcursor')
+depends=('libvorbis' 'mygui' 'sdl' 'enet' 'hicolor-icon-theme' 'libxcursor' 'stuntrally-data')
makedepends=('cmake' 'boost')
install=stuntrally.install
-source=(src_${pkgver}.tar.gz::https://nodeload.github.com/${pkgname}/stuntrally/tar.gz/${pkgver}
- tracks_${pkgver}.tar.gz::https://nodeload.github.com/${pkgname}/tracks/tar.gz/${pkgver})
-md5sums=('3253c5a64a6d3f4fc4b756ea431286de'
- '77e118926c970a445b91d688a4f46799')
+source=(src_${pkgver}.tar.gz::https://nodeload.github.com/${pkgname}/stuntrally/tar.gz/${pkgver})
+md5sums=('3253c5a64a6d3f4fc4b756ea431286de')
build() {
- # build the sources
cd "${srcdir}/stuntrally-${pkgver}/"
rm -rf build
@@ -26,29 +23,12 @@
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DSHARE_INSTALL="share/stuntrally" ..
make
-
-
- # build the tracks
- cd "${srcdir}/tracks-${pkgver}/"
-
- rm -rf build
- mkdir build && cd build
-
- cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
- make
}
package() {
- #install the sources
cd "${srcdir}/stuntrally-${pkgver}/build/"
make DESTDIR="${pkgdir}" install
-
- # install the tracks
- cd "${srcdir}/tracks-${pkgver}/build"
-
- make DESTDIR="${pkgdir}/usr/share/stuntrally/" install
-
- rm -rf "${pkgdir}/usr/share/stuntrally/tracks/build"
+ rm -rf "${pkgdir}/usr/share/stuntrally/"
}
More information about the arch-commits
mailing list