updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pypentago / PKGBUILD
blob7c854726b80f4add625a492051366d37480d63ff
1 # Contributor: Florian Mayer <flormayer AT aNOSPAMim DOT com>
2 pkgname=pypentago
3 pkgver=0.1.0
4 pkgrel=6
5 pkgdesc="pypentago is a free implementation of the boardgame Pentago."
6 url="http://bitbucket.org/segfaulthunter/pypentago-mainline/"
7 license=("GPL3")
8 arch=("any")
9 depends=('python>=2.6' 'pyqt' 'twisted' 'python-sqlalchemy' 'setuptools')
10 source=(http://bitbucket.org/segfaulthunter/pypentago-mainline/downloads/pypentago-$pkgver.tar.bz2)
12 md5sums=('929dc092c9f3e08eb29b4d5894396d02')
14 options=(!strip)
16 build() 
18   cd "${srcdir}/$pkgname-$pkgver"
19   
20   PYTHONPATH=$PYTHONPATH:$pkgdir/usr/lib/python2.6/site-packages/
21   export PYTHONPATH
22   mkdir -p $pkgdir/usr/lib/python2.6/site-packages/
23   python setup.py install --prefix=$startdir/pkg/usr
24   rm -f $pkgdir/usr/lib/python2.6/site-packages/easy-install.pth
25   rm -f $pkgdir/usr/lib/python2.6/site-packages/site.py
26   rm -f $pkgdir/usr/lib/python2.6/site-packages/site.pyc
28 # vim:syntax=sh