pkgname=python-setuptools-gettext pkgver=0.1.14 pkgrel=1 pkgdesc="Setuptools plugin for building .mo files" arch=('x86_64') url="https://github.com/breezy-team/setuptools-gettext" license=('GPL-2.0-or-later') depends=('python' 'python-setuptools') makedepends=('python-build' 'python-installer' 'python-wheel') source=(https://github.com/breezy-team/setuptools-gettext/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(1af149293d542eb54fd1ae27da6a2e307b5ad8dafa0c49ca0bb2676674996018) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }