[arch-commits] Commit in stuntrally-data/repos/community-any (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Nov 5 17:19:44 UTC 2014


    Date: Wednesday, November 5, 2014 @ 18:19:42
  Author: svenstaro
Revision: 121971

archrelease: copy trunk to community-any

Added:
  stuntrally-data/repos/community-any/PKGBUILD
    (from rev 121970, stuntrally-data/trunk/PKGBUILD)
Deleted:
  stuntrally-data/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-05 17:19:29 UTC (rev 121970)
+++ PKGBUILD	2014-11-05 17:19:42 UTC (rev 121971)
@@ -1,54 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=stuntrally-data
-_pkgname=stuntrally
-pkgver=2.5
-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=('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/bin"
-}

Copied: stuntrally-data/repos/community-any/PKGBUILD (from rev 121970, stuntrally-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-11-05 17:19:42 UTC (rev 121971)
@@ -0,0 +1,55 @@
+# 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"
+}



More information about the arch-commits mailing list