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 | |
download | aur-4f3d6bae72b5badca2fed67f631d748970034abe.tar.gz |
Intiail commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..50405b3c156c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = mkdocs-glightbox + pkgdesc = A MkDocs plugin supports image lightbox (zoom effect) with GLightbox. + pkgver = 0.3.4 + pkgrel = 1 + url = https://github.com/Blueswen/mkdocs-glightbox + arch = any + license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + makedepends = python-setuptools + depends = mkdocs + options = !strip + source = mkdocs-glightbox-0.3.4.tar.gz::https://github.com/Blueswen/mkdocs-glightbox/archive/refs/tags/v0.3.4.tar.gz + sha256sums = 27e11d6525046f319cec56967eca39456afa24c81e9d0b49cc74c21e6d63bbc3 + +pkgname = mkdocs-glightbox 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 +} |