[arch-commits] Commit in spring/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Sep 28 19:46:36 UTC 2015
Date: Monday, September 28, 2015 @ 21:46:36
Author: foutrelis
Revision: 142126
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
spring/repos/community-staging-i686/
spring/repos/community-staging-i686/PKGBUILD
(from rev 142125, spring/trunk/PKGBUILD)
spring/repos/community-staging-i686/spring.install
(from rev 142125, spring/trunk/spring.install)
spring/repos/community-staging-x86_64/
spring/repos/community-staging-x86_64/PKGBUILD
(from rev 142125, spring/trunk/PKGBUILD)
spring/repos/community-staging-x86_64/spring.install
(from rev 142125, spring/trunk/spring.install)
-----------------------------------------+
community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++
community-staging-i686/spring.install | 12 ++++++++
community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++
community-staging-x86_64/spring.install | 12 ++++++++
4 files changed, 114 insertions(+)
Copied: spring/repos/community-staging-i686/PKGBUILD (from rev 142125, spring/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-28 19:46:36 UTC (rev 142126)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Arkham <arkham at archlinux dot us>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+
+pkgname=spring
+pkgver=100.0
+pkgrel=2
+pkgdesc='A free 3D real-time-strategy (RTS) game engine'
+arch=('i686' 'x86_64')
+url="http://springrts.com/"
+license=('GPL')
+depends=('openal' 'glew' 'boost-libs' 'freetype2' 'devil' 'libvorbis' 'sdl2' 'libunwind'
+ 'libxcursor' 'curl' 'shared-mime-info' 'desktop-file-utils' 'libx11')
+makedepends=('boost' 'cmake' 'zip' 'xz' 'p7zip' 'python2' 'java-environment' 'mesa')
+optdepends=('python2: python-based bots'
+ 'java-runtime: java-based bots')
+install=spring.install
+source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${pkgver}_src.tar.lzma)
+md5sums=('d4d4a4f928b0004c3165d373526f958e')
+
+prepare() {
+ bsdtar -xf ${pkgname}_${pkgver}_src.tar.lzma
+}
+
+build() {
+ cd spring_${pkgver}
+
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDATADIR=share/spring \
+ -DCMAKE_SKIP_RPATH=YES
+ make
+}
+
+package() {
+ cd spring_${pkgver}
+
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/etc/spring"
+ echo '$HOME/.spring' > "$pkgdir/etc/spring/datadir"
+}
+
+# vim sw=2:ts=2 et:
Copied: spring/repos/community-staging-i686/spring.install (from rev 142125, spring/trunk/spring.install)
===================================================================
--- community-staging-i686/spring.install (rev 0)
+++ community-staging-i686/spring.install 2015-09-28 19:46:36 UTC (rev 142126)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: spring/repos/community-staging-x86_64/PKGBUILD (from rev 142125, spring/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-28 19:46:36 UTC (rev 142126)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Arkham <arkham at archlinux dot us>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+
+pkgname=spring
+pkgver=100.0
+pkgrel=2
+pkgdesc='A free 3D real-time-strategy (RTS) game engine'
+arch=('i686' 'x86_64')
+url="http://springrts.com/"
+license=('GPL')
+depends=('openal' 'glew' 'boost-libs' 'freetype2' 'devil' 'libvorbis' 'sdl2' 'libunwind'
+ 'libxcursor' 'curl' 'shared-mime-info' 'desktop-file-utils' 'libx11')
+makedepends=('boost' 'cmake' 'zip' 'xz' 'p7zip' 'python2' 'java-environment' 'mesa')
+optdepends=('python2: python-based bots'
+ 'java-runtime: java-based bots')
+install=spring.install
+source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${pkgver}_src.tar.lzma)
+md5sums=('d4d4a4f928b0004c3165d373526f958e')
+
+prepare() {
+ bsdtar -xf ${pkgname}_${pkgver}_src.tar.lzma
+}
+
+build() {
+ cd spring_${pkgver}
+
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDATADIR=share/spring \
+ -DCMAKE_SKIP_RPATH=YES
+ make
+}
+
+package() {
+ cd spring_${pkgver}
+
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/etc/spring"
+ echo '$HOME/.spring' > "$pkgdir/etc/spring/datadir"
+}
+
+# vim sw=2:ts=2 et:
Copied: spring/repos/community-staging-x86_64/spring.install (from rev 142125, spring/trunk/spring.install)
===================================================================
--- community-staging-x86_64/spring.install (rev 0)
+++ community-staging-x86_64/spring.install 2015-09-28 19:46:36 UTC (rev 142126)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list