[arch-commits] Commit in openra/repos/community-any (4 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Sun Sep 15 21:50:11 UTC 2013


    Date: Sunday, September 15, 2013 @ 23:50:11
  Author: svenstaro
Revision: 97263

archrelease: copy trunk to community-any

Added:
  openra/repos/community-any/PKGBUILD
    (from rev 97262, openra/trunk/PKGBUILD)
  openra/repos/community-any/openra.install
    (from rev 97262, openra/trunk/openra.install)
Deleted:
  openra/repos/community-any/PKGBUILD
  openra/repos/community-any/openra.install

----------------+
 PKGBUILD       |   81 ++++++++++++++++++++++++++++---------------------------
 openra.install |   36 ++++++++++++------------
 2 files changed, 60 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-15 21:50:02 UTC (rev 97262)
+++ PKGBUILD	2013-09-15 21:50:11 UTC (rev 97263)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Matthew Bowra-Dean <matthew at ijw.co.nz>
-pkgname=openra
-pkgver=20130514
-pkgrel=1
-pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL"
-arch=('any')
-url="http://open-ra.org"
-license=('GPL3')
-install=openra.install
-depends=('mono' 'openal' 'libgl' 'freetype2' 'sdl' 'hicolor-icon-theme' 'ttf-dejavu')
-makedepends=('git' 'unzip')
-optdepends=('nvidia-cg-toolkit: for using the alternative Cg renderer')
-options=(!strip)
-source=("openra-$pkgver::https://github.com/OpenRA/OpenRA/tarball/release-$pkgver")
-md5sums=('1aa42cde61571b90c8d2a418b407967a')
-
-build() {
-  cd OpenRA-OpenRA-*
-
-  make
-}
-
-package() {
-  cd OpenRA-OpenRA-*
-
-  mkdir -p "$pkgdir/usr/share/applications"
-  sed "s/{VERSION}/$pkgver/g" packaging/linux/openra.desktop > "$pkgdir/usr/share/applications/openra.desktop"
-
-  sed "/Version/s/{DEV_VERSION}/release-${pkgver}/" -i mods/{ra,cnc}/mod.yaml  
-
-  mkdir -p "$pkgdir/usr/share/icons/"
-  cp -r packaging/linux/hicolor "$pkgdir/usr/share/icons/"
-
-  make prefix=/usr DESTDIR="$pkgdir" install
-
-  find "$pkgdir" -iname \*.mdb -delete
-}

Copied: openra/repos/community-any/PKGBUILD (from rev 97262, openra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-09-15 21:50:11 UTC (rev 97263)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Matthew Bowra-Dean <matthew at ijw.co.nz>
+pkgname=openra
+pkgver=20130915
+pkgrel=1
+pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL"
+arch=('any')
+url="http://open-ra.org"
+license=('GPL3')
+install=openra.install
+depends=('mono' 'openal' 'libgl' 'freetype2' 'sdl' 'hicolor-icon-theme' 'ttf-dejavu' 'gtk-update-icon-cache' 'desktop-file-utils')
+makedepends=('git' 'unzip')
+optdepends=('nvidia-cg-toolkit: for using the alternative Cg renderer')
+options=(!strip)
+source=("openra-$pkgver::https://github.com/OpenRA/OpenRA/tarball/release-$pkgver"
+        https://github.com/OpenRA/OpenRA/pull/3837.patch)
+md5sums=('9284b6113a77978f446fa0bade7f9cd3'
+         '46ee544f4117c80cc400c03e1637f1f1')
+
+build() {
+  cd OpenRA-OpenRA-*
+
+  patch -Np1 < $srcdir/3837.patch
+  make
+}
+
+package() {
+  cd OpenRA-OpenRA-*
+
+  mkdir -p "$pkgdir/usr/share/applications"
+  sed "s/{VERSION}/$pkgver/g" packaging/linux/openra.desktop > "$pkgdir/usr/share/applications/openra.desktop"
+
+  sed "/Version/s/{DEV_VERSION}/release-${pkgver}/" -i mods/{ra,cnc}/mod.yaml  
+
+  mkdir -p "$pkgdir/usr/share/icons/"
+  cp -r packaging/linux/hicolor "$pkgdir/usr/share/icons/"
+
+  make prefix=/usr DESTDIR="$pkgdir" install
+
+  find "$pkgdir" -iname \*.mdb -delete
+}

Deleted: openra.install
===================================================================
--- openra.install	2013-09-15 21:50:02 UTC (rev 97262)
+++ openra.install	2013-09-15 21:50:11 UTC (rev 97263)
@@ -1,18 +0,0 @@
-post_upgrade() {
-    update-desktop-database -q
-    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_install() {
-    echo "If the game doesn't run, try using the Cg renderer ~/.openra/settings.yaml like so:"
-    echo "Graphics:"
-    echo "        Renderer: Cg"
-    echo "Be careful to only use one indenting tab with 8 shift width."
-    post_upgrade
-}
-
-post_remove() {
-    echo "openra downloaded data files to ~/.openra/Content and you might want"
-    echo "to delete those."
-    post_upgrade
-}

Copied: openra/repos/community-any/openra.install (from rev 97262, openra/trunk/openra.install)
===================================================================
--- openra.install	                        (rev 0)
+++ openra.install	2013-09-15 21:50:11 UTC (rev 97263)
@@ -0,0 +1,18 @@
+post_upgrade() {
+    update-desktop-database -q
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+    echo "If the game doesn't run, try using the Cg renderer ~/.openra/settings.yaml like so:"
+    echo "Graphics:"
+    echo "        Renderer: Cg"
+    echo "Be careful to only use one indenting tab with 8 shift width."
+    post_upgrade
+}
+
+post_remove() {
+    echo "openra downloaded data files to ~/.openra/Content and you might want"
+    echo "to delete those."
+    post_upgrade
+}




More information about the arch-commits mailing list