pkgname=python-cython pkgver=3.0.11 pkgrel=1 pkgdesc="C-Extensions for Python" arch=('x86_64') url="https://cython.org" license=('Apache-2.0') depends=('glibc' 'python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/cython/cython/releases/download/${pkgver}-1/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }