# Maintainer: AlphaJack # Contributor: Mikkel Oscar Lyderik Larsen # Contributor: David Birks # Contributor: Jacqueline Outka # Contributor: Abuzer Rafey pkgname="mkdocs-material" pkgver=9.5.17 pkgrel=1 pkgdesc="Material design theme for MkDocs" url="https://squidfunk.github.io/mkdocs-material/" license=("MIT") arch=("any") provides=("mkdocs-material" "python-mkdocs-material" "mkdocs-material-extensions") conflicts=("python-mkdocs-material") replaces=("python-mkdocs-material") depends=("mkdocs" "mkdocs-minify-plugin" "mkdocs-material-extensions" "pngquant" "pymdown-extensions" "python-cairosvg" "python-colorama" "python-hatch-nodejs-version" "python-hatch-requirements-txt" "python-paginate" "python-pygments" "python-regex" "python-requests" "python-xcffib") makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools") optdepends=("python-jieba: allow search for chinese language") source=("$pkgname-$pkgver.tar.gz::https://github.com/squidfunk/mkdocs-material/archive/$pkgver.tar.gz") b2sums=('7a7ab4f0c6b05f0e6d0efcaf8ab6482275e5677ccba89ac795b1217d083d9b8df5f7e4248de8b3f1290e6bd9b87d9626bda440413970e7e074be0581a99952fe') options=("!strip") build(){ cd "$pkgname-$pkgver" python -m build --wheel --no-isolation } package(){ cd "$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }