# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Future Linux Team 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 --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }