# Maintainer: Erich Eckner pkgname=python-sphinx-better-theme _pkgname=sphinx-better-theme pkgver=0.13 pkgrel=20 pkgdesc='theme for Sphinx that looks nice' arch=('any') url='https://sphinx-better-theme.readthedocs.io/' license=('custom') depends=( 'python>=3.9' 'python<3.10' ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/irskep/${_pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('ad9b52205b29a410c918f789e5b4d110ca6bb654da18203206504efef7f16228b93b764cf14d9cca1a89d1850a4327b51f1f6fe7219d5968b5e51e5cf1935f42') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }