[arch-commits] Commit in stuntrally-data/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Sep 21 19:47:08 UTC 2015
Date: Monday, September 21, 2015 @ 21:47:07
Author: svenstaro
Revision: 141407
archrelease: copy trunk to community-any
Added:
stuntrally-data/repos/community-any/PKGBUILD
(from rev 141406, stuntrally-data/trunk/PKGBUILD)
Deleted:
stuntrally-data/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-21 19:46:53 UTC (rev 141406)
+++ PKGBUILD 2015-09-21 19:47:07 UTC (rev 141407)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=stuntrally-data
-_pkgname=stuntrally
-pkgver=2.5
-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')
-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=('31e565c531b57895745b2dd5ecd1a2f241b1ac415d984d038390a49398974b23'
- '16b3e5d68eaffb8921b46066dde39208337c3142b2e1db5e6431a1bf867461ed')
-
-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 141406, stuntrally-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-21 19:47:07 UTC (rev 141407)
@@ -0,0 +1,55 @@
+# 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"
+}
More information about the arch-commits
mailing list