diff options
author | AlphaJack | 2022-09-22 16:31:21 +0200 |
---|---|---|
committer | AlphaJack | 2022-09-22 16:31:21 +0200 |
commit | 4c6162c28eb0bb8abcd232ccea0afc1d280c05b0 (patch) | |
tree | 0f8496303c7d32153a2686ce45311fe0765ba7ac /PKGBUILD | |
parent | eab4ca4775850ec858c3c0716d924985773f887a (diff) | |
download | aur-4c6162c28eb0bb8abcd232ccea0afc1d280c05b0.tar.gz |
Switched installation method, added missing dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -6,25 +6,31 @@ pkgname="mkdocs-material" pkgver=8.5.3 -pkgrel=1 +pkgrel=2 pkgdesc="Material design theme for MkDocs" url="http://squidfunk.github.io/mkdocs-material/" license=("MIT") arch=("any") conflicts=("python-mkdocs-material") replaces=("python-mkdocs-material") -depends=("mkdocs" "pymdown-extensions" "python-pygments" "mkdocs-minify-plugin" "mkdocs-material-extensions") -makedepends=("python-setuptools") +depends=("mkdocs" + "mkdocs-minify-plugin" + "mkdocs-material-extensions" + "pymdown-extensions" + "python-hatch-nodejs-version" + "python-hatch-requirements-txt" + "python-pygments") +makedepends=("python-build" "python-installer") source=("$pkgname-$pkgver.tar.gz::https://github.com/squidfunk/mkdocs-material/archive/$pkgver.tar.gz") sha256sums=('3fadc271bb3d00138d14bb2d8c2970ef3f4ff7ca49ac0cb2a06dbe6f146f4f82') options=("!strip") build(){ cd "$pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package(){ cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } |