diff options
author | HurricanePootis | 2023-10-28 01:07:10 -0500 |
---|---|---|
committer | HurricanePootis | 2023-10-28 01:07:10 -0500 |
commit | 4f3d6bae72b5badca2fed67f631d748970034abe (patch) | |
tree | 1a05b48f4b8f3416299840a5e62b3d29e04bc9cb /PKGBUILD | |
download | aur-4f3d6bae72b5badca2fed67f631d748970034abe.tar.gz |
Intiail commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7408b7a1e925 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# HurricanePootis <hurricanepootis@protonmail.com> + +pkgname="mkdocs-glightbox" +pkgver=0.3.4 +pkgrel=1 +pkgdesc="A MkDocs plugin supports image lightbox (zoom effect) with GLightbox." +url="https://github.com/Blueswen/mkdocs-glightbox" +license=("MIT") +arch=("any") +depends=("mkdocs") +makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools") +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('27e11d6525046f319cec56967eca39456afa24c81e9d0b49cc74c21e6d63bbc3') +options=("!strip") + +build(){ + cd "$pkgname-$pkgver" + python -m build --wheel --no-isolation +} + +package(){ + cd "$pkgname-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl +} |