28 lines
721 B
Bash
28 lines
721 B
Bash
# Template file for 'python-pyglet'
|
|
pkgname=python-pyglet
|
|
version=1.4.10
|
|
revision=2
|
|
wrksrc="pyglet-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools unzip"
|
|
depends="python"
|
|
short_desc="Cross-platform windowing and multimedia library for Python2"
|
|
maintainer="Jasper Chan <jasperchan515@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.pyglet.org"
|
|
distfiles="${PYPI_SITE}/p/pyglet/pyglet-${version}.zip"
|
|
checksum=c57e3e18246f45e4d6bb3d29e39d128d6e72b05f4212b10353adc3ba260ceb65
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-pyglet_package() {
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|