summaryrefslogtreecommitdiff
path: root/community/freeorion/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freeorion/PKGBUILD')
-rw-r--r--community/freeorion/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/freeorion/PKGBUILD b/community/freeorion/PKGBUILD
index ad30d215f..ffb155e59 100644
--- a/community/freeorion/PKGBUILD
+++ b/community/freeorion/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 70724 2012-05-15 19:44:31Z arodseth $
+# $Id: PKGBUILD 73989 2012-07-18 01:06:32Z ibiru $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: guini <sidtrun@googlemail.com>
# Contributor: Forrest Loomis <cybercyst _ at _ gmail dot com>
@@ -8,7 +8,7 @@
pkgname=freeorion
pkgver=0.4
_fixedrevision=4635
-pkgrel=5
+pkgrel=6
pkgdesc="Turn-based galactic conquest game inspired by Master of Orion"
arch=('x86_64' 'i686')
url="http://www.freeorion.org/"
@@ -20,16 +20,18 @@ else
depends=('nvidia-cg-toolkit')
fi
depends=('bullet' 'freealut' 'libvorbis' 'python2' 'gigi' 'desktop-file-utils')
-makedepends=('boost>=1.49.0' 'ogre' 'sdl' 'gigi>=0.8.0-10' 'graphviz' 'libogg'
+makedepends=('boost>=1.49.0' 'ogre' 'sdl' 'gigi>=0.8.0-11' 'graphviz' 'libogg'
'desktop-file-utils' 'setconf' 'clang' 'cmake' 'gendesk' 'subversion')
options=('!strip' '!emptydirs')
install=$pkgname.install
-source=("$pkgname.sh")
-sha256sums=('111532e460aec847ff455ee67dd64f46e2fa5ceba39a0349d25a84b69c646eaf')
+source=("$pkgname.sh"
+ "$pkgname.png::https://a.fsdn.com/con/icons/fr/freeorion@sf.net/FO_Icon_256x256.png")
+sha256sums=('111532e460aec847ff455ee67dd64f46e2fa5ceba39a0349d25a84b69c646eaf'
+ 'a6a253eed31b77b00bf4f721f4b1c6bbd95505b9e4b38b736101e551dd12ff5f')
build() {
cd "$srcdir"
- gendesk
+ gendesk -n
msg2 "Checking out svn revision $_fixedrevision..."
if [[ -d "$pkgname/.svn" ]]; then
@@ -51,6 +53,9 @@ build() {
msg2 "GLU fix..."
setconf CMakeCache.txt CMAKE_CXX_FLAGS:STRING "'-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lGL -lGLU '"
+ msg2 "Boost fix..."
+ sed -i 's:TIME_UTC:TIME_UTC_:' util/MultiplayerCommon.cpp
+
msg2 "Compiling..."
make -j1