upgpkg: sbcl 2.2.5-1
[arch-packages.git] / python-sgmllib3k / repos / extra-any / PKGBUILD
blobf932754d7c865a22d9890080759d8481f22243d8
1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
3 pkgname=python-sgmllib3k
4 pkgver=1.0.0
5 pkgrel=4
6 arch=(any)
7 license=("BSD")
8 pkgdesc="Python 3 smgllib port"
9 url="https://pypi.org/project/sgmllib3k/#description"
10 makedepends=(python-setuptools)
11 depends=(python)
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')
18 build() {
19   cd "${_name}-${pkgver}"
20   python setup.py build
23 package() {
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"