diff options
Diffstat (limited to 'abs/extra/python-opengl/PKGBUILD')
-rw-r--r-- | abs/extra/python-opengl/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra/python-opengl/PKGBUILD b/abs/extra/python-opengl/PKGBUILD new file mode 100644 index 0000000..d0638b1 --- /dev/null +++ b/abs/extra/python-opengl/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 89543 2010-09-01 17:18:01Z remy $ +# Contributor: Josh Taylor <joshtaylor.mail@gmail.com> +# Contributor: simo <simo@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=python-opengl +pkgver=3.0.1 +pkgrel=2 +pkgdesc="The cross platform Python binding to OpenGL and related APIs" +url="http://pyopengl.sourceforge.net" +license=('BSD') +arch=('any') +depends=('python2' 'tk' 'freeglut' 'setuptools') +provides=('pyopengl' 'python-pyopengl') +conflicts=('pyopengl' 'python-pyopengl') +source=(http://downloads.sourceforge.net/pyopengl/PyOpenGL-${pkgver}.tar.gz + 'LICENSE') +md5sums=('221d4a6a0928fcfeef26751370ec5f52' + '0b53c508a63e5dbaf44cdfb0fa103b3a') + +build() { + /bin/true +} + +package() { + cd ${srcdir}/PyOpenGL-${pkgver} + python2 setup.py install --root=${pkgdir} || return 1 + install -Dm644 ${srcdir}/LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |