aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-opengl/APKBUILD
blob: 212074028533a7f709ad0f477f483dc766560458 (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
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.4
pkgrel=0
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="daddd91d6e4e5c731cb335c2a780388fbbc6829d819275d3daedea84f4c75e94de25608e0297abc339250c6dc11431ca653777287c2ca098b3e7f64473eac16e  PyOpenGL-3.1.4.tar.gz"