# Maintainer: Marco Rubin _name=moderngl pkgname=python-$_name pkgver=5.10.0 pkgrel=1 pkgdesc='ModernGL: High performance rendering for Python 3' arch=(x86_64) url='https://github.com/moderngl/moderngl' license=('MIT') depends=(python python-glcontext) makedepends=(python-build python-installer python-setuptools python-wheel) source=("$url/archive/$pkgver.tar.gz") b2sums=('4077ad238012a0f9b43bf7b3b691d9ee4019d6b97fd38e64ef87e1c5ce04e71b4cf64cf3f55faeb3275b2c7052e1c6d95839ba5bfd602fa2daffc3a0f31077ed') build() { cd $_name-$pkgver python -m build --wheel --no-isolation } package() { cd $_name-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }