upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-markdown-math / trunk / PKGBUILD
blob6921246fc5d10e616b2e1bc8d6c4a5dc5f5f2fe4
1 # Maintainer: Jiachen YANG <farseerfc@gmail.com>
2 # AUR Maintainer: Marcus Scheunemann
4 pkgname=python-markdown-math
5 pkgver=0.8
6 pkgrel=6
7 pkgdesc="Math extension for Python-Markdown"
8 arch=('any')
9 url="https://github.com/mitya57/python-markdown-math"
10 license=('BSD')
11 depends=('python-markdown')
12 makedepends=('python-setuptools')
13 source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
14 sha256sums=('8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635'
15             'SKIP')
16 validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev <mitya57@debian.org>
19 build() {
20     cd "python-markdown-math-${pkgver}"
22     python setup.py build
25 check() {
26     cd "python-markdown-math-${pkgver}"
28     python setup.py test
31 package() {
32     cd "python-markdown-math-${pkgver}"
33     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
34     install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE