pkgname=python-sphinxcontrib-htmlhelp pkgver=2.1.0 pkgrel=1 pkgdesc="Sphinx extension which renders HTML help files" arch=('x86_64') url="https://github.com/sphinx-doc/sphinxcontrib-htmlhelp" license=('(BSD-2-Clause') depends=('python') makedepends=('python-build' 'python-flit-core' 'python-installer') source=(https://github.com/sphinx-doc/${pkgname#*-}/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(52abf96834748a325d396156e5452a77bef3396e9d62fb22a09c0742fa19f663) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }