[arch-commits] Commit in stuntrally-data/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Mon May 13 10:33:18 UTC 2013


    Date: Monday, May 13, 2013 @ 12:33:18
  Author: svenstaro
Revision: 90603

upgpkg: stuntrally-data 2.0-1

Updating to 2.0

Modified:
  stuntrally-data/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 10:22:00 UTC (rev 90602)
+++ PKGBUILD	2013-05-13 10:33:18 UTC (rev 90603)
@@ -2,7 +2,7 @@
 
 pkgname=stuntrally-data
 _pkgname=stuntrally
-pkgver=1.9
+pkgver=2.0
 pkgrel=1
 pkgdesc="Stunt Rally game with track editor, based on VDrift (data files)"
 arch=('any')
@@ -11,8 +11,8 @@
 makedepends=('cmake' 'boost' 'libvorbis' 'mygui' 'sdl' 'enet' 'hicolor-icon-theme' 'libxcursor')
 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')
+md5sums=('a92d850c100220246833b330d1aca9bd'
+         '37439c50f9641610b5b7e767ec52eebb')
 
 build() {
   # build the sources
@@ -21,7 +21,9 @@
   rm -rf build
   mkdir build && cd build
 
-  cmake -DCMAKE_INSTALL_PREFIX="/usr" -DSHARE_INSTALL="share/stuntrally" ..
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX="/usr" \
+      -DSHARE_INSTALL="share/stuntrally"
   make
 
   # build the tracks
@@ -30,22 +32,21 @@
   rm -rf build
   mkdir build && cd build
 
-  cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
+  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
 
+  # clean up
   rm -rf "${pkgdir}/usr/share/stuntrally/tracks/build"
   rm -rf "${pkgdir}/usr/share/icons"
   rm -rf "${pkgdir}/usr/share/applications"




More information about the arch-commits mailing list