# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py-opengl-accelerate
pkgver=3.1.1
_pkgreal=PyOpenGL-accelerate-${pkgver}a1
pkgrel=0
pkgdesc="OpenGL bindings for Python (Cython extensions)"
url="http://pyopengl.sourceforge.net/"
arch="all"
license="BSD"
depends="cython"
depends_dev=""
makedepends="cython-dev"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/P/PyOpenGL-accelerate/$_pkgreal.tar.gz"

builddir="$srcdir"/$_pkgreal
build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="04e52af352dd078275a2d5720c4afea2  PyOpenGL-accelerate-3.1.1a1.tar.gz"
sha256sums="3d37af9f2565febf214e1da2a5fe019561992d34026ce2a5f51972e121b84cdd  PyOpenGL-accelerate-3.1.1a1.tar.gz"
sha512sums="6881e3b435da5a33ff31c0991f403166236b44a5bd21ca60418d131dafc1159d6b1c73e60b935d1761d4fc848b824422abbe0e850fe860fa694b64536dddc35c  PyOpenGL-accelerate-3.1.1a1.tar.gz"