# 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-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/Ousret/charset_normalizer/archive/${pkgver}/charset_normalizer-${pkgver}.tar.gz) sha256sums=(e8dfa606a7c3f4d4540e7f648a602338323ee0f5e458043accf59b4a0493783f) 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 }