diff options
author | root <root@rshg054.dnsready.net> | 2013-08-06 01:53:55 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-06 01:53:55 -0700 |
commit | a2fb8ff517d83749ec3b5543aeba805f07ea257d (patch) | |
tree | 87eac8f03f062c2c5ab3ff3dd92e04c07fb4e896 /community/freeorion | |
parent | b3923b26c3d37257246fea13bdb1151c96cb2fe4 (diff) |
Tue Aug 6 01:53:08 PDT 2013
Diffstat (limited to 'community/freeorion')
-rw-r--r-- | community/freeorion/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/community/freeorion/PKGBUILD b/community/freeorion/PKGBUILD index 64f5ab5b8..75c60bedd 100644 --- a/community/freeorion/PKGBUILD +++ b/community/freeorion/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 95055 2013-08-04 21:38:58Z arodseth $ +# $Id: PKGBUILD 95098 2013-08-05 17:01:03Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Elmo Todurov <todurov@gmail.com> # Contributor: guini <sidtrun@googlemail.com> @@ -9,6 +9,8 @@ pkgname=freeorion pkgver=0.4.3 pkgrel=1 +_svnrev=6281 +_pyversion=2.7 pkgdesc='Turn-based galactic conquest game inspired by Master of Orion' arch=('x86_64' 'i686') url='http://www.freeorion.org/' @@ -27,30 +29,26 @@ install=$pkgname.install source=("$pkgname.sh" "$pkgname.png::https://a.fsdn.com/con/icons/fr/freeorion@sf.net/FO_Icon_256x256.png" "cmake_python.patch" - "$pkgname::svn+https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/#revision=6281") + "$pkgname::svn+https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/#revision=$_svnrev") sha256sums=('25b574af5397226373e24510ce59de94c5df5b31d94562fc0de387fd70731707' 'a6a253eed31b77b00bf4f721f4b1c6bbd95505b9e4b38b736101e551dd12ff5f' '3dbe8df9c3a4a0d6451f42727ebf9bcb21fed41a08d1181d1cf77ef4ab5ee81a' 'SKIP') -_pyversion=2.7 pkgver() { + svn upgrade + svn up -r "$_svnrev" echo "$pkgver" } prepare() { - cd "$pkgname" + #msg2 'Looking up revision from version number...' + #_releaserevision=`curl --progress-bar -o- ${url}index.php/Compile | grep "$pkgver" | cut -d':' -f2 | cut -d' ' -f10 | tail -1` - svn upgrade + gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" } build() { - cd "$srcdir" - gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" - - #msg2 'Looking up revision from version number...' - #_releaserevision=`curl --progress-bar -o- ${url}index.php/Compile | grep "$pkgver" | cut -d':' -f2 | cut -d' ' -f10 | tail -1` - cd "$srcdir/$pkgname" msg2 'CMake/Python fix...' |