30 lines
765 B
Bash
30 lines
765 B
Bash
# Template file for 'python-PyOpenGL'
|
|
pkgname=python-PyOpenGL
|
|
version=3.1.5
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="PyOpenGL-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Standard OpenGL bindings for Python2"
|
|
maintainer="Alain Kalker <a.c.kalker@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://pyopengl.sourceforge.net/"
|
|
distfiles="${PYPI_SITE}/P/PyOpenGL/PyOpenGL-${version}.tar.gz"
|
|
checksum=4107ba0d0390da5766a08c242cf0cf3404c377ed293c5f6d701e457c57ba3424
|
|
|
|
post_install() {
|
|
vlicense license.txt LICENSE
|
|
}
|
|
|
|
python3-PyOpenGL_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense license.txt LICENSE
|
|
}
|
|
}
|