PKGBUILDs/extra/python-opengl/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
882 B
Bash

# $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')