pkgname: python-charset-normalizer pkgver: '3.5.1' pkgrel: 1 pkgdesc: The charset-normalizer library helps with reading text from an unknown character encoding url: 'https://github.com/ousret/charset_normalizer' arch: x86_64 license: - MIT depends: [] makedepends: - python-setuptools source: - 'https://github.com/Ousret/charset_normalizer/archive/${pkgver}/charset-normalizer-${pkgver}.tar.gz' sha256sums: - SKIP build: "mv charset_normalizer-${pkgver} charset-normalizer-${pkgver}\n\ncd charset-normalizer-${pkgver}\n\npip3 wheel -w dist\ \ \\\n --no-build-isolation \\\n --no-deps $PWD\npip3 install --no-index \\\n --find-links dist \\\n --no-cache-dir\ \ \\\n --no-user \\\n --root=${PKGDIR} \\\n charset-normalizer\n\nfind ${PKGDIR} -type d -name vendor\ \ -o -name tests |xargs rm -rf \n\ninstall -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE\n" package: | true