blob: 43b393d6f31379daf97def74a9b8799beaaa1d8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Dmitriy Q <krotesk at mail dot ru>
# Contributor: Dmitriy Q <krotesk at mail dot ru>
pkgname="mkdocs-print-site-plugin"
pkgver=2.8
pkgrel=3
pkgdesc="MkDocs Plugin that adds an additional page that combines all pages, allowing easy exports to PDF and standalone HTML."
url="https://github.com/timvink/mkdocs-print-site-plugin"
license=("MIT")
groups=("mkdocs-plugins")
arch=("any")
depends=("mkdocs" "python-hatchling")
makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools" "python-setuptools-scm")
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
options=("!strip")
sha256sums=('ab9ea63e573d91ff133d4409d8c6950e32690956ae1442bcf48f3d092e7996c5')
build(){
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package(){
cd "$pkgname-$pkgver"
install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
python -m installer --destdir="$pkgdir" dist/*.whl
}
|