SHARE
TWEET

unknown-horizons 2011.2

a guest Jul 3rd, 2011 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Biginoz <biginoz _at_ free point fr>
  2. # Contributor: Ronan Rabouin <darkbaboon@gmail.com>
  3. # Contributor: andy123 < ajs AT online DOT de >
  4.  
  5. pkgname=unknown-horizons
  6. pkgver=2011.2
  7. pkgrel=1
  8. pkgdesc="A 2D realtime strategy simulation with an emphasis on economy and city building"
  9. arch=('i686' 'x86_64')
  10. url="http://unknown-horizons.org/"
  11. license=('GPL' 'CCPL')
  12. depends=('python2' 'python2-yaml' 'fife' 'python-distutils-extra')
  13. conflicts=('unknown-horizons-svn' 'unknown-horizons-git' 'openanno')
  14. source=(http://sourceforge.net/projects/unknownhorizons/files/Unknown%20Horizons/${pkgver}/${pkgname}-${pkgver}.tar.xz)
  15. sha512sums=('afa9cdc29730b3baa7ce0ebe8126a4576c27c5edd8953ecfb40d9adbbac4f6017bbada113aa4c45c44d643351352bca04ef028d483605c0ac914116378c66f5a')
  16.  
  17. build() {
  18.   cd $srcdir/$pkgname
  19.   sed -i 's/env python/env python2/' run_uh.py
  20.   python2 setup.py install --home=$pkgdir/usr --optimize=1
  21.   mkdir -p $pkgdir/usr/lib/python2.7/site-packages/
  22.   mv $pkgdir/usr/lib/python/* $pkgdir/usr/lib/python2.7/site-packages/
  23.   rm -rf $pkgdir/usr/lib/python
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top