pkgname=python-charset-normalizer pkgver=3.4.0 pkgrel=1 pkgdesc="Encoding and language detection alternative to chardet" arch=('x86_64') url="https://github.com/Ousret/charset_normalizer" license=('MIT') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/jawah/charset_normalizer/releases/download/${pkgver}/charset_normalizer-${pkgver}.tar.gz) sha256sums=(223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e) build() { cd charset_normalizer-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd charset_normalizer-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }