blob: 483f1eb4e6ee8b3a74b505bd8e0824e85c00bb87 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=python-markdown-del-ins
_name=${pkgname#python-}
pkgver=1.0.0
pkgrel=1
pkgdesc="Markdown extension to support the <del> and <ins> tags"
arch=('any')
url="https://github.com/honzajavorek/markdown-del-ins"
license=('BSD-3-Clause')
depends=('python' 'python-markdown')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('501d1a6b6d9eb9f738ed5d12727f6e01df2082d89f854c94f44224d0fd68cfd2')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|