pkgname=python-alabaster pkgver=1.0.0 pkgrel=1 pkgdesc="Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system" arch=('x86_64') url="https://alabaster.readthedocs.io/" license=('BSD-3-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=(10f054e53bb5417658bdf242ed51e0189816423b0908dfffbc7eaa4382459bce) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }