[arch-commits] Commit in stuntrally-data/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Fri Aug 9 00:32:35 UTC 2013
Date: Friday, August 9, 2013 @ 02:32:34
Author: svenstaro
Revision: 95303
archrelease: copy trunk to community-any
Added:
stuntrally-data/repos/community-any/PKGBUILD
(from rev 95302, stuntrally-data/trunk/PKGBUILD)
Deleted:
stuntrally-data/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-09 00:32:20 UTC (rev 95302)
+++ PKGBUILD 2013-08-09 00:32:34 UTC (rev 95303)
@@ -1,54 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=stuntrally-data
-_pkgname=stuntrally
-pkgver=2.0
-pkgrel=1
-pkgdesc="Stunt Rally game with track editor, based on VDrift (data files)"
-arch=('any')
-license=('GPL3')
-url="http://code.google.com/p/vdrift-ogre"
-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=('a92d850c100220246833b330d1aca9bd'
- '37439c50f9641610b5b7e767ec52eebb')
-
-build() {
- # build the sources
- cd "${srcdir}/stuntrally-${pkgver}/"
-
- rm -rf build
- mkdir build && cd build
-
- 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
-
- # clean up
- rm -rf "${pkgdir}/usr/share/stuntrally/tracks/build"
- rm -rf "${pkgdir}/usr/share/icons"
- rm -rf "${pkgdir}/usr/share/applications"
- rm -rf "${pkgdir}/usr/bin"
-}
Copied: stuntrally-data/repos/community-any/PKGBUILD (from rev 95302, stuntrally-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-08-09 00:32:34 UTC (rev 95303)
@@ -0,0 +1,54 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=stuntrally-data
+_pkgname=stuntrally
+pkgver=2.1
+pkgrel=1
+pkgdesc="Stunt Rally game with track editor, based on VDrift (data files)"
+arch=('any')
+license=('GPL3')
+url="http://code.google.com/p/vdrift-ogre"
+makedepends=('cmake' 'boost' 'libvorbis' 'mygui' 'sdl2' 'enet' 'hicolor-icon-theme' 'libxcursor')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stuntrally/stuntrally/archive/${pkgver}.tar.gz"
+ "$pkgname-tracks-$pkgver.tar.gz::https://github.com/stuntrally/tracks/archive/${pkgver}.tar.gz")
+sha256sums=('d987e8c05ed1f3f54468e75e2c1f68a9a4c59ceefa7429130d4f800b28821ae0'
+ 'a1ab9b11d9f5b6c4aa8e5a9028f5994e21446d96fda5762e427365e21cfe3d0e')
+
+build() {
+ # build the sources
+ cd "${srcdir}/stuntrally-${pkgver}/"
+
+ rm -rf build
+ mkdir build && cd build
+
+ 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
+
+ # clean up
+ rm -rf "${pkgdir}/usr/share/stuntrally/tracks/build"
+ rm -rf "${pkgdir}/usr/share/icons"
+ rm -rf "${pkgdir}/usr/share/applications"
+ rm -rf "${pkgdir}/usr/bin"
+}
More information about the arch-commits
mailing list