summaryrefslogtreecommitdiff
path: root/community/python-html5lib/PKGBUILD
blob: bcd2f73b6c5b03d4f957185116671010456b7fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Erol V. Aktay <e.aktay@gmail.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=python-html5lib
pkgver=0.90
pkgrel=1
pkgdesc="A HTML parser/tokenizer based on the WHATWG HTML5 spec"
arch=('i686' 'x86_64')
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  
}