pkgname=python-sphinxcontrib-qthelp pkgver=2.0.0 pkgrel=1 pkgdesc="Sphinx extension which outputs QtHelp document" arch=('x86_64') url="https://github.com/sphinx-doc/sphinxcontrib-qthelp" 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=(8bbb0bc76ad38fc552a73292740b55bdf9ea2ab3d5111ebd58e47cd6225855b2) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }