pkgname=python-build pkgver=1.2.2 pkgrel=2 pkgdesc="A simple, correct PEP 517 build frontend" arch=('x86_64') url="https://pypi.org/project/build/" license=('MIT') depends=('python-packaging' 'python-pyproject-hooks') makedepends=('python-build' 'python-flit-core' 'python-installer') source=(https://github.com/pypa/build/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(6708ae4ee3ed0ca2f5efa4943627e5e6b0db4793ff3baba240e313a447007268) prepare() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }