[arch-commits] Commit in stuntrally/repos (6 files)

Felix Yan fyan at archlinux.org
Tue Aug 12 05:04:02 UTC 2014


    Date: Tuesday, August 12, 2014 @ 07:04:02
  Author: fyan
Revision: 117245

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  stuntrally/repos/community-staging-i686/
  stuntrally/repos/community-staging-i686/PKGBUILD
    (from rev 117244, stuntrally/trunk/PKGBUILD)
  stuntrally/repos/community-staging-i686/stuntrally.install
    (from rev 117244, stuntrally/trunk/stuntrally.install)
  stuntrally/repos/community-staging-x86_64/
  stuntrally/repos/community-staging-x86_64/PKGBUILD
    (from rev 117244, stuntrally/trunk/PKGBUILD)
  stuntrally/repos/community-staging-x86_64/stuntrally.install
    (from rev 117244, stuntrally/trunk/stuntrally.install)

---------------------------------------------+
 community-staging-i686/PKGBUILD             |   37 ++++++++++++++++++++++++++
 community-staging-i686/stuntrally.install   |   13 +++++++++
 community-staging-x86_64/PKGBUILD           |   37 ++++++++++++++++++++++++++
 community-staging-x86_64/stuntrally.install |   13 +++++++++
 4 files changed, 100 insertions(+)

Copied: stuntrally/repos/community-staging-i686/PKGBUILD (from rev 117244, stuntrally/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-08-12 05:04:02 UTC (rev 117245)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Sven Schneider <archlinux.sandmann at googlemail.com>
+# Contributor: Jason Melton <jason.melton at gmail.com>
+
+pkgname=stuntrally
+pkgver=2.4
+pkgrel=2
+pkgdesc='Stunt Rally game with track editor, based on VDrift'
+arch=('x86_64' 'i686')
+license=('GPL3')
+url='http://code.google.com/p/vdrift-ogre'
+depends=('libvorbis' 'mygui' 'sdl2' 'enet' 'gtk-update-icon-cache' 'stuntrally-data')
+makedepends=('cmake' 'boost' 'git')
+install=stuntrally.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stuntrally/stuntrally/archive/${pkgver}.tar.gz")
+sha256sums=('273697fae75de64509aa26d8fc5fdfe662764c3ac7fc3fa9b8d72f8a76c7a677')
+
+build() {
+  cd "$srcdir/stuntrally-$pkgver/"
+
+  rm -rf build
+  mkdir build && cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX="/usr" \
+    -DSHARE_INSTALL="share/stuntrally"
+  make
+}
+
+package() {
+  cd "$srcdir/stuntrally-$pkgver/build/"
+
+  make DESTDIR="$pkgdir" install
+  rm -rf "$pkgdir/usr/share/stuntrally/"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: stuntrally/repos/community-staging-i686/stuntrally.install (from rev 117244, stuntrally/trunk/stuntrally.install)
===================================================================
--- community-staging-i686/stuntrally.install	                        (rev 0)
+++ community-staging-i686/stuntrally.install	2014-08-12 05:04:02 UTC (rev 117245)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: stuntrally/repos/community-staging-x86_64/PKGBUILD (from rev 117244, stuntrally/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-08-12 05:04:02 UTC (rev 117245)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Sven Schneider <archlinux.sandmann at googlemail.com>
+# Contributor: Jason Melton <jason.melton at gmail.com>
+
+pkgname=stuntrally
+pkgver=2.4
+pkgrel=2
+pkgdesc='Stunt Rally game with track editor, based on VDrift'
+arch=('x86_64' 'i686')
+license=('GPL3')
+url='http://code.google.com/p/vdrift-ogre'
+depends=('libvorbis' 'mygui' 'sdl2' 'enet' 'gtk-update-icon-cache' 'stuntrally-data')
+makedepends=('cmake' 'boost' 'git')
+install=stuntrally.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stuntrally/stuntrally/archive/${pkgver}.tar.gz")
+sha256sums=('273697fae75de64509aa26d8fc5fdfe662764c3ac7fc3fa9b8d72f8a76c7a677')
+
+build() {
+  cd "$srcdir/stuntrally-$pkgver/"
+
+  rm -rf build
+  mkdir build && cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX="/usr" \
+    -DSHARE_INSTALL="share/stuntrally"
+  make
+}
+
+package() {
+  cd "$srcdir/stuntrally-$pkgver/build/"
+
+  make DESTDIR="$pkgdir" install
+  rm -rf "$pkgdir/usr/share/stuntrally/"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: stuntrally/repos/community-staging-x86_64/stuntrally.install (from rev 117244, stuntrally/trunk/stuntrally.install)
===================================================================
--- community-staging-x86_64/stuntrally.install	                        (rev 0)
+++ community-staging-x86_64/stuntrally.install	2014-08-12 05:04:02 UTC (rev 117245)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list