summaryrefslogtreecommitdiffstats
path: root/abs/extra/python-opengl/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-18 03:32:40 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-18 03:32:40 (GMT)
commit0ef3e56b5e65fbaf28650b3ab6c35ae9d08dd24a (patch)
treedec031dddd5d70dbd1a708d5bd75ebcf4dac8734 /abs/extra/python-opengl/PKGBUILD
parent5270456c33afb625f98d28b6f96ff6ee76238a2f (diff)
downloadlinhes_pkgbuild-0ef3e56b5e65fbaf28650b3ab6c35ae9d08dd24a.zip
linhes_pkgbuild-0ef3e56b5e65fbaf28650b3ab6c35ae9d08dd24a.tar.gz
linhes_pkgbuild-0ef3e56b5e65fbaf28650b3ab6c35ae9d08dd24a.tar.bz2
python-opengl: initial import 4 pyqt
Diffstat (limited to 'abs/extra/python-opengl/PKGBUILD')
-rw-r--r--abs/extra/python-opengl/PKGBUILD31
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
+}