# Maintainer: Jesus E. pkgname=mallard-ducktype pkgver=1.0.2 pkgrel=1 pkgdesc='Parser for the lightweight Ducktype syntax for Mallard' url="http://projectmallard.org" arch=('any') license=('Expat') depends=('python') makedepends=('python-setuptools') source=("https://github.com/projectmallard/mallard-ducktype/archive/refs/tags/${pkgver}.tar.gz") sha512sums=('7491d5bb3a0f7aeae73a9ecffdda7aac1ae3a9ab4595c8704913858a12309c890c7036b9b427fae816a62b598886d51679169648b64602c268dbf3eddf18587e') build() { cd $pkgname-$pkgver python setup.py build } package() { cd $pkgname-$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING }