updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / python-ogre / PKGBUILD
blob63b8216d6a5d7da5cd816c949854e9266b504aac
1 # Maintainer: Saltire Sable <saltiresable at gee mail dot com>
2 pkgname=python-ogre
3 pkgver=1.7.2
4 _rev=r1131M
5 _pyver=2.7
6 pkgrel=1
7 pkgdesc="High performance gaming and graphics library for Python"
8 arch=('any')
9 url="http://www.pythonogre.com"
10 license=('MIT')
11 depends=('python2>=2.7' 'ogre')
12 makedepends=('p7zip')
13 options=(!emptydirs)
14 source=('http://downloads.sourceforge.net/project/python-ogre/Latest/1.7.2/ogre-1.7.2-r1131M-py-2.7.7z')
15 md5sums=('d4ea55d1c15e398d6401049b6096c080') #generate with 'makepkg -g'
17 build() {
18   cd ${srcdir}
19   7z x ogre-$pkgver-$_rev-py-$_pyver.7z
20   install -D -m644 docs/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
22   python2 setup.py install --root=${pkgdir} --optimize=1