# Contributor: Erol V. Aktay # Maintainer: Daniel J Griffiths pkgname=python-html5lib pkgver=0.90 pkgrel=1 pkgdesc="A HTML parser/tokenizer based on the WHATWG HTML5 spec" arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/html5lib/" license=('MIT') depends=('python2') makedepends=('unzip' 'setuptools') source=(http://html5lib.googlecode.com/files/html5lib-${pkgver}.zip LICENSE) md5sums=('691e6b9ebe15b333a28280974b2ce432' '838c366f69b72c5df05c96dff79b35f2') build() { /bin/true } package() { cd ${srcdir}/html5lib-${pkgver} python2 setup.py install --root=${pkgdir} install -dm755 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }