pkgname=python-snowballstemmer pkgver=2.2.0 pkgrel=1 pkgdesc="Snowball stemming library collection for Python" arch=('x86_64') url="https://snowballstem.org" license=('BSD-3-Clause') depends=('python') makedepends=('python-build' 'python-setuptools' 'python-installer' 'python-wheel') source=(https://files.pythonhosted.org/packages/source/s/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }