pkgname=python-hatch-vcs pkgver=0.4.0 pkgrel=1 pkgdesc="Hatch plugin for versioning with your preferred VCS" arch=('x86_64') url="https://github.com/ofek/hatch-vcs" license=('MIT') depends=('python-hatchling' 'python-setuptools-scm') makedepends=('python-build' 'python-installer') source=(https://github.com/ofek/hatch-vcs/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(08d52088c3cc97a719e2530f42a05829cf442c63ea735e63e4d152e75966c4f1) build() { cd ${pkgname#*-}-${pkgver} python3 -m build -nw } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }