summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlphaJack2021-09-04 11:56:04 +0200
committerAlphaJack2021-09-04 11:56:04 +0200
commit2dc8016a147819ef74cd65b948626792ca3a8b46 (patch)
treeef4d1d94ff1b33c964eeea45f008435a7874e837 /PKGBUILD
downloadaur-mkdocs-material-extensions.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..525bf11b3c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: AlphaJack <alphajack at tuta dot io>
+
+pkgname="mkdocs-material-extensions"
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Markdown extension resources for MkDocs Material"
+url="https://github.com/facelessuser/mkdocs-material-extensions"
+license=("MIT")
+arch=("any")
+provides=("mkdocs-material-extensions")
+conflicts=("python-mkdocs-material-extensions-git" "mkdocs-material-extensions-git")
+replaces=("python-mkdocs-material-extensions-git" "mkdocs-material-extensions-git")
+depends=("mkdocs" "pymdown-extensions")
+makedepends=("python-setuptools")
+source=("$url/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('4ed429c0311e099827ead1371eb0eee8ca3c9689d34f4f1c52c9a0876a86a536')
+
+build(){
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package(){
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}