pkgname=python-mdurl pkgver=0.1.2 pkgrel=1 pkgdesc="URL utilities for markdown-it" arch=('x86_64') url="https://github.com/executablebooks/mdurl" license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-flit-core' 'python-wheel') source=(https://github.com/executablebooks/mdurl/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(99d4fabddab7ee4a05fa458deb1a6f0d009966e4631c50d1b875767a1cd3896d) build() { cd ${pkgname#*-}-${pkgver} python3 -m build -nw } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }