git » python-html5lib.git » commit f0e95e2

package update

author Daniel Griffiths
2010-01-16 21:12:16 UTC
committer Daniel Griffiths
2010-01-16 21:12:16 UTC
parent 0a426ac35942306f77de127541058cb96498643b

package update

PKGBUILD +8 -5

diff --git a/PKGBUILD b/PKGBUILD
index 2d68d90..5b107c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
 
 pkgname=python-html5lib
-rpkgname=html5lib
+_pkgname=html5lib
 pkgver=0.11.1
 pkgrel=1
 pkgdesc="A HTML parser/tokenizer based on the WHATWG HTML5 spec"
@@ -11,10 +11,13 @@ url="http://code.google.com/p/html5lib/"
 license=('MIT')
 depends=('python')
 makedepends=('unzip' 'setuptools')
-source=(http://html5lib.googlecode.com/files/$rpkgname-$pkgver.zip)
+source=(http://html5lib.googlecode.com/files/${_pkgname}-${pkgver}.zip
+	LICENSE)
 
 build() {
-        cd $startdir/src/$rpkgname-$pkgver
-        python setup.py install --root=$startdir/pkg || return 1
+        cd ${srcdir}/${_pkgname}-${pkgver}
+        python setup.py install --root=${pkgdir} || return 1
+	install -dm755 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE	
 }
-md5sums=('f0981fcec3d69789f12f52779c55fa29')
+md5sums=('f0981fcec3d69789f12f52779c55fa29'
+	 '838c366f69b72c5df05c96dff79b35f2')