diff options
author | Chau Duong | 2023-09-10 02:37:36 +0700 |
---|---|---|
committer | Chau Duong | 2023-09-10 02:40:42 +0700 |
commit | e717386c510b0af329be9011efffed2bdf14bea1 (patch) | |
tree | ba3622577924d9720372428bf63ab72e9d1ec1b9 /PKGBUILD | |
download | aur-e717386c510b0af329be9011efffed2bdf14bea1.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3ee97c116552 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Chau Duong <duongdominhchau@gmail.com> +_pkgname=mdformat-admon +pkgname="${_pkgname}-git" +pkgver=1.0.2 +pkgrel=1 +pkgdesc="An mdformat plugin for admonitions." +arch=(any) +url="https://github.com/KyleKing/mdformat-admon" +license=('MIT') +depends=(mdformat python-mdit_py_plugins) +makedepends=( + python-pip + python-build + python-wheel + python-flit + python-installer +) +source=("${_pkgname}::git+https://github.com/KyleKing/mdformat-admon.git") +sha256sums=(SKIP) + +build() { + cd "$_pkgname" + python -m build --wheel --no-isolation +} + +package() { + cd "$_pkgname" + python -m installer --destdir="$pkgdir" dist/*.whl +} |