aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-opengl-accelerate/APKBUILD
blob: c0006aaec783e795c114baa6f14dec82ab55fccb (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
30
31
# 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"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python 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"