diff options
author | root <root@rshg054.dnsready.net> | 2012-10-23 01:37:15 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-23 01:37:15 -0700 |
commit | 3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (patch) | |
tree | 8fac31deec086251b3b9dc8faddfe14f5667392b /community-staging/spring | |
parent | 99746708edfd2c56f2ba654a14f27e98b1601a43 (diff) |
Tue Oct 23 01:37:02 PDT 2012
Diffstat (limited to 'community-staging/spring')
-rw-r--r-- | community-staging/spring/PKGBUILD | 28 | ||||
-rw-r--r-- | community-staging/spring/spring.install | 12 |
2 files changed, 25 insertions, 15 deletions
diff --git a/community-staging/spring/PKGBUILD b/community-staging/spring/PKGBUILD index 654885736..9dc8d199f 100644 --- a/community-staging/spring/PKGBUILD +++ b/community-staging/spring/PKGBUILD @@ -1,25 +1,24 @@ -# $Id: PKGBUILD 73670 2012-07-13 06:44:56Z svenstaro $ +# $Id: PKGBUILD 78694 2012-10-22 21:41:06Z ebelanger $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=spring -pkgver=0.89.0 -_pkgver=89.0 -pkgrel=1 +pkgver=0.91.0 +_pkgver=91.0 +pkgrel=3 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') -makedepends=('boost' 'cmake' 'zip' 'xz' 'p7zip' 'python2' 'java-environment') + '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') -source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${_pkgver}_src.tar.lzma - boost-1.50.patch) -md5sums=('36fc266e925bc3790a68bf1bc7ebb315' - 'a3c3b4a53eeb499090b027fd6b3cf848') +install=spring.install +source=(http://downloads.sourceforge.net/sourceforge/springrts/${pkgname}_${_pkgver}_src.tar.lzma) +md5sums=('8849ace38f2ae20dc100b9d0a8d743e9') build() { bsdtar -xf ${pkgname}_${_pkgver}_src.tar.lzma @@ -27,21 +26,20 @@ build() { cd spring_${_pkgver} sed "s/TIME_UTC/TIME_UTC_/g" -i AI/Skirmish/E323AI/CScopedTimer.h - patch -Np1 < $srcdir/boost-1.50.patch cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DDATADIR=share/spring + -DDATADIR=share/spring -DCMAKE_SKIP_RPATH:BOOL=YES make } package() { cd spring_${_pkgver} - make DESTDIR=$pkgdir install + make DESTDIR="$pkgdir" install - install -d $pkgdir/etc/spring - echo '$HOME/.spring' > $pkgdir/etc/spring/datadir + install -d "$pkgdir/etc/spring" + echo '$HOME/.spring' > "$pkgdir/etc/spring/datadir" } # vim sw=2:ts=2 et: diff --git a/community-staging/spring/spring.install b/community-staging/spring/spring.install new file mode 100644 index 000000000..41f09f887 --- /dev/null +++ b/community-staging/spring/spring.install @@ -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 +} |