[arch-commits] Commit in stuntrally-data/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Sep 22 03:01:02 UTC 2015
Date: Tuesday, September 22, 2015 @ 05:01:02
Author: svenstaro
Revision: 141428
archrelease: copy trunk to community-any
Added:
stuntrally-data/repos/community-any/PKGBUILD
(from rev 141427, stuntrally-data/trunk/PKGBUILD)
Deleted:
stuntrally-data/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-22 03:00:44 UTC (rev 141427)
+++ PKGBUILD 2015-09-22 03:01:02 UTC (rev 141428)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=stuntrally-data
-_pkgname=stuntrally
-pkgver=2.6
-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' 'bullet' 'openal')
-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=('8cc309d27d26f78dcc596440547d68b5e41d02ef830df2d52d38611d45ebbaca'
- '4bce700516a2a178ac04cfbf7df2887ba42225802f5a3e670f770ea01345687b')
-
-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/include"
- rm -rf "${pkgdir}/usr/bin"
-}
Copied: stuntrally-data/repos/community-any/PKGBUILD (from rev 141427, stuntrally-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-22 03:01:02 UTC (rev 141428)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=stuntrally-data
+_pkgname=stuntrally
+pkgver=2.6
+pkgrel=2
+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' 'bullet' 'openal')
+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=('8cc309d27d26f78dcc596440547d68b5e41d02ef830df2d52d38611d45ebbaca'
+ '4bce700516a2a178ac04cfbf7df2887ba42225802f5a3e670f770ea01345687b')
+
+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/include"
+ rm -rf "${pkgdir}/usr/bin"
+ rm -rf "${pkgdir}/usr/lib"
+}
More information about the arch-commits
mailing list