pkgname=python-tzlocal pkgver=5.2 pkgrel=1 pkgdesc="Tzinfo object for the local timezone" arch=('x86_64') url="https://github.com/regebro/tzlocal" license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/regebro/tzlocal/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(1fa51b954955ff1228244f8f1d52ab9261546ce34de3558b6afa7f94e0791971) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }