archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pyopengl / trunk / PKGBUILD
blobae940e5713b544b76cf2174add28d292c5e2c1e9
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Josh Taylor <joshtaylor.mail@gmail.com>
3 # Contributor: simo <simo@archlinux.org>
4 # Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
5 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
7 pkgbase=pyopengl
8 pkgname=('python-opengl')
9 pkgver=3.1.5
10 pkgrel=6
11 pkgdesc="The cross platform Python binding to OpenGL and related APIs"
12 url="http://pyopengl.sourceforge.net/"
13 license=('BSD')
14 arch=('any')
15 depends=('python' 'freeglut')
16 makedepends=('python-setuptools')
17 source=("https://pypi.python.org/packages/source/P/PyOpenGL/PyOpenGL-${pkgver}.tar.gz"
18         'LICENSE')
19 sha512sums=('5d90fc68040b4886e46ff69a59be9e3a8e31e3e1295283756db86d50a1efe681986928e18eb55d20fd2660f863653301ea483425bbe24046f55085b44f4906eb'
20             '84e8b6e984aa53ffdce33df2f4ee8993887bdb8752617d7f66b2ff5641ca16f9c3a13b383a9bb3236192b3af9518a3f3de1e7ac9f1496c8704911bb4238d091d')
22 package_python-opengl() {
23     cd PyOpenGL-${pkgver}
24         python setup.py install --root="${pkgdir}" --optimize=1
25         install -Dm644 "${srcdir}/LICENSE" \
26                 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"