diff options
author | root <root@rshg054.dnsready.net> | 2012-11-06 02:13:31 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-06 02:13:31 -0800 |
commit | 85e0e667660650d70269432a90401d4288776d9d (patch) | |
tree | 7d6e665bf13e57be14c60b14512dd322c97874e8 /community/freeorion | |
parent | c973e7aa43bb6c3bb4e25503eea40ddee63fcefd (diff) |
Tue Nov 6 02:09:19 PST 2012
Diffstat (limited to 'community/freeorion')
-rw-r--r-- | community/freeorion/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/community/freeorion/PKGBUILD b/community/freeorion/PKGBUILD index aba0ba331..f81715361 100644 --- a/community/freeorion/PKGBUILD +++ b/community/freeorion/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 78495 2012-10-19 23:54:49Z arodseth $ +# $Id: PKGBUILD 79478 2012-11-06 02:15:41Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: guini <sidtrun@googlemail.com> # Contributor: Forrest Loomis <cybercyst _ at _ gmail dot com> @@ -7,7 +7,7 @@ pkgname=freeorion pkgver=0.4.1 -pkgrel=3 +pkgrel=4 pkgdesc='Turn-based galactic conquest game inspired by Master of Orion' arch=('x86_64' 'i686') url='http://www.freeorion.org/' @@ -32,18 +32,23 @@ sha256sums=('111532e460aec847ff455ee67dd64f46e2fa5ceba39a0349d25a84b69c646eaf' '3dbe8df9c3a4a0d6451f42727ebf9bcb21fed41a08d1181d1cf77ef4ab5ee81a') _svnrepo='https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/' _pyversion=2.7 +_revision=5379 build() { cd "$srcdir" gendesk -n msg2 'Looking up revision from version number...' - _fixedrevision=`curl --progress-bar -o- ${url}index.php/Compile | grep "$pkgver" | cut -d':' -f2 | cut -d' ' -f10 | tail -1` - msg2 "Checking out svn revision $_fixedrevision..." + _releaserevision=`curl --progress-bar -o- ${url}index.php/Compile | grep "$pkgver" | cut -d':' -f2 | cut -d' ' -f10 | tail -1` + msg2 "The revision for the latest official release is $_releaserevision" + # _revision=$_releaserevision + msg2 "Compiling with revision $_revision" + + msg2 "Checking out svn revision $_revision..." if [[ -d "$pkgname/.svn" ]]; then - (cd "$pkgname" && svn up -r "$_fixedrevision") + (cd "$pkgname" && svn up -r "$_revision") else - svn co "$_svnrepo" --config-dir ./ -r "$_fixedrevision" "$pkgname" + svn co "$_svnrepo" --config-dir ./ -r "$_revision" "$pkgname" fi msg2 "Setting up build directory..." @@ -64,8 +69,8 @@ build() { setconf CMakeCache.txt CMAKE_CXX_FLAGS:STRING \ "'-march=x86-64 -mtune=generic -O2 -fno-var-tracking -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 "Boost fix..." + #sed -i 's:TIME_UTC:TIME_UTC_:' util/MultiplayerCommon.cpp msg2 "Compiling..." make -j1 |