[arch-commits] Commit in openra/repos/community-any (4 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Sun Jan 19 08:05:36 UTC 2014
Date: Sunday, January 19, 2014 @ 09:05:36
Author: svenstaro
Revision: 104358
archrelease: copy trunk to community-any
Added:
openra/repos/community-any/PKGBUILD
(from rev 104357, openra/trunk/PKGBUILD)
openra/repos/community-any/openra.install
(from rev 104357, openra/trunk/openra.install)
Deleted:
openra/repos/community-any/PKGBUILD
openra/repos/community-any/openra.install
----------------+
PKGBUILD | 75 ++++++++++++++++++++++++++-----------------------------
openra.install | 36 +++++++++++++-------------
2 files changed, 54 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-19 08:05:30 UTC (rev 104357)
+++ PKGBUILD 2014-01-19 08:05:36 UTC (rev 104358)
@@ -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=20131223
-pkgrel=2
-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")
-md5sums=('799e94c92fccb26830000b6483dd3166')
-
-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,d2k,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 104357, openra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-01-19 08:05:36 UTC (rev 104358)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Matthew Bowra-Dean <matthew at ijw.co.nz>
+pkgname=openra
+pkgver=20131223
+pkgrel=3
+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' 'sdl2' '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=("git+https://github.com/OpenRA/OpenRA.git#tag=release-${pkgver}")
+md5sums=('SKIP')
+
+prepare() {
+ cd OpenRA
+
+ make version
+}
+
+build() {
+ cd OpenRA
+
+ make
+}
+
+package() {
+ cd OpenRA
+
+ make prefix=/usr DESTDIR="$pkgdir" install-all
+ make prefix=/usr DESTDIR="$pkgdir" install-shortcuts
+}
Deleted: openra.install
===================================================================
--- openra.install 2014-01-19 08:05:30 UTC (rev 104357)
+++ openra.install 2014-01-19 08:05:36 UTC (rev 104358)
@@ -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 104357, openra/trunk/openra.install)
===================================================================
--- openra.install (rev 0)
+++ openra.install 2014-01-19 08:05:36 UTC (rev 104358)
@@ -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