[arch-commits] Commit in spring/repos (6 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Sat Jan 4 03:37:19 UTC 2014
Date: Saturday, January 4, 2014 @ 04:37:19
Author: svenstaro
Revision: 103357
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
spring/repos/community-testing-i686/
spring/repos/community-testing-i686/PKGBUILD
(from rev 103356, spring/trunk/PKGBUILD)
spring/repos/community-testing-i686/spring.install
(from rev 103356, spring/trunk/spring.install)
spring/repos/community-testing-x86_64/
spring/repos/community-testing-x86_64/PKGBUILD
(from rev 103356, spring/trunk/PKGBUILD)
spring/repos/community-testing-x86_64/spring.install
(from rev 103356, spring/trunk/spring.install)
-----------------------------------------+
community-testing-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++
community-testing-i686/spring.install | 12 ++++++++
community-testing-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++
community-testing-x86_64/spring.install | 12 ++++++++
4 files changed, 112 insertions(+)
Copied: spring/repos/community-testing-i686/PKGBUILD (from rev 103356, spring/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-01-04 03:37:19 UTC (rev 103357)
@@ -0,0 +1,44 @@
+# $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=0.96.0
+_pkgver=96.0
+pkgrel=1
+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' 'sdl'
+ 'libxcursor' 'curl' 'shared-mime-info' 'desktop-file-utils')
+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=('2aeaaed4cf316ea22761efc0ef849a73')
+
+build() {
+ bsdtar -xf ${pkgname}_${_pkgver}_src.tar.lzma
+
+ 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-testing-i686/spring.install (from rev 103356, spring/trunk/spring.install)
===================================================================
--- community-testing-i686/spring.install (rev 0)
+++ community-testing-i686/spring.install 2014-01-04 03:37:19 UTC (rev 103357)
@@ -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-testing-x86_64/PKGBUILD (from rev 103356, spring/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2014-01-04 03:37:19 UTC (rev 103357)
@@ -0,0 +1,44 @@
+# $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=0.96.0
+_pkgver=96.0
+pkgrel=1
+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' 'sdl'
+ 'libxcursor' 'curl' 'shared-mime-info' 'desktop-file-utils')
+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=('2aeaaed4cf316ea22761efc0ef849a73')
+
+build() {
+ bsdtar -xf ${pkgname}_${_pkgver}_src.tar.lzma
+
+ 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-testing-x86_64/spring.install (from rev 103356, spring/trunk/spring.install)
===================================================================
--- community-testing-x86_64/spring.install (rev 0)
+++ community-testing-x86_64/spring.install 2014-01-04 03:37:19 UTC (rev 103357)
@@ -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