Files
extra/python-sphinxcontrib-htmlhelp/PKGBUILD
2025-06-22 20:39:04 -05:00

35 lines
1.0 KiB
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
_srcname=sphinxcontrib-htmlhelp
pkgname=python-sphinxcontrib-htmlhelp
pkgver=1.0.3
pkgrel=0
pkgdesc='Sphinx extension which renders HTML help files'
arch=('any')
url='https://github.com/sphinx-doc/sphinxcontrib-htmlhelp'
license=('Simplified-BSD')
makedepends=('python-setuptools')
# checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/archive/$pkgver.tar.gz")
sha512sums=('4eb59fe4d1860e313ac7d70a7197ba3de71e17b86fe4704e530fc80bdd52aeb0c85f6e0489376cc1bc8d2dcdd3a5c4b34e4f8d5274aba30055fca79b12a055fa')
build() {
cd $_srcname-$pkgver
python setup.py build
}
# check() {
# cd $_srcname-$pkgver
# pytest
# }
package() {
cd $_srcname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
# License
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: