commit 8ef7525354be48b7996f042cf2f523a1b49b402c Author: xhaa123 Date: Mon Apr 29 11:35:45 2024 +0800 python-sphinxcontrib-htmlhelp 2.0.5-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1c7e73e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=python-sphinxcontrib-htmlhelp +pkgver=2.0.5 +pkgrel=1 +pkgdesc="Sphinx extension which renders HTML help files" +arch=('x86_64') +url="https://github.com/sphinx-doc/sphinxcontrib-htmlhelp" +license=('BSD-2-Clause') +depends=('python') +makedepends=('python-build' 'python-flit-core' 'python-installer') +source=(https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) +sha256sums=(a4122de528ee9e6e89c4cc0660f60860ff5f1ddb47c23d43d731fb4c7b227773) + +build() { + cd ${pkgname#*-}-${pkgver} + + python3 -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd ${pkgname#*-}-${pkgver} + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}