1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
3 pkgname=python-sgmllib3k
8 pkgdesc="Python 3 smgllib port"
9 url="https://pypi.org/project/sgmllib3k/#description"
10 makedepends=(python-setuptools)
12 replaces=(python-sgmllib)
13 provides=(python-sgmllib)
14 _name=${pkgname#python-}
15 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
16 sha256sums=('7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9')
19 cd "${_name}-${pkgver}"
24 cd "${_name}-${pkgver}"
25 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
26 # Upstream should ship a license file...
27 #install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"