aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-opengl-accelerate/APKBUILD
blob: 6c17009b8d70e893249408e01699dd9b328391b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-opengl-accelerate
pkgver=3.1.4
_pkgreal=PyOpenGL-accelerate-$pkgver
pkgrel=0
pkgdesc="OpenGL bindings for Python (Cython extensions)"
url="http://pyopengl.sourceforge.net/"
arch="all"
license="BSD-3-Clause"
depends="python3 py3-opengl"
makedepends="py3-setuptools python3-dev cython"
source="https://files.pythonhosted.org/packages/source/P/PyOpenGL-accelerate/$_pkgreal.tar.gz"
builddir="$srcdir"/$_pkgreal

replaces="py-opengl-accelerate" # Backwards compatibility
provides="py-opengl-accelerate=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ead92c4ac8047379e8cbde4189e04ef0e25265f472c3eac089a81ebad271fba6f646cfdd43402b21966de5ee20ccab7e27faf94771adb1a93ccad8a3eaf610e8  PyOpenGL-accelerate-3.1.4.tar.gz"