pkgname=python3-markupsafe pkgver=3.0.2 pkgrel=1 pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python" arch=('x86_64') url="https://pypi.python.org/pypi/MarkupSafe" license=('custom') depends=('python3') makedepends=('python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel') source=("https://pypi.io/packages/source/m/markupsafe/markupsafe-${pkgver}.tar.gz") sha256sums=('ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0') build() { cd markupsafe-${pkgver} python3 -m build -nw } package() { cd markupsafe-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt }