aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-opengl/APKBUILD
blob: 12c8af1e78e17524723abaa1d4145dfb803a1dab (plain)
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
28
29
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-opengl
_pkgname=PyOpenGL
pkgver=3.1.3b2
pkgrel=2
pkgdesc="Standard OpenGL bindings"
url="http://pyopengl.sourceforge.net"
options="!check"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/P/PyOpenGL/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

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

sha512sums="bc21e68ec6956b648725ac2db71435eb9cbe9925e52a5215dd553e2c933063f57e1ee44a48818b973be29160a00b03247c5e2157cf67e06b0d854d3dac369e80  PyOpenGL-3.1.3b2.tar.gz"