PKGBUILDs/extra/python-opengl/PKGBUILD

25 lines
882 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 48400 2009-08-01 19:12:16Z giovanni $
# Contributor: Josh Taylor <joshtaylor.mail@gmail.com>
# Contributor: simo <simo@archlinux.org>
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=python-opengl
pkgver=3.0.1a1
pkgrel=1
pkgdesc="The cross platform Python binding to OpenGL and related APIs"
arch=(i686 x86_64)
license=('BSD')
depends=('python' 'tk' 'freeglut' 'setuptools')
provides=('pyopengl' 'python-pyopengl')
conflicts=('pyopengl' 'python-pyopengl')
url="http://pyopengl.sourceforge.net"
source=(http://downloads.sourceforge.net/pyopengl/PyOpenGL-$pkgver.tar.gz LICENSE)
build() {
cd $startdir/src/PyOpenGL-$pkgver
python setup.py install --root=$startdir/pkg
install -D -m644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('3858f254cca14a3360ce818bf1a2b15f'
'0b53c508a63e5dbaf44cdfb0fa103b3a')