pkgname=python-sphinxcontrib-jsmath pkgver=1.0.1 pkgrel=1 pkgdesc="Sphinx extension which renders display math in HTML via JavaScript" arch=('x86_64') url="https://github.com/sphinx-doc/sphinxcontrib-jsmath" license=('(BSD-2-Clause') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/sphinx-doc/${pkgname#*-}/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(1a20febedb885c78f2e2c29b6f4c1e4e6fe0ac4699378b624b805914491df064) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }