1 # Contributor: Jesse Young <jesse.young@gmail.com>
3 pkgname=python-mimeparse
4 _pkgname="${pkgname#python-}"
7 pkgdesc="This module provides basic functions for parsing mime-type names and matching them against a list of media-ranges."
9 url="http://code.google.com/p/mimeparse/"
14 source=("http://${_pkgname}.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz"
15 "http://${_pkgname}.googlecode.com/svn/trunk/LICENSE")
18 cd ${srcdir}/${_pkgname}-${pkgver}
20 python2 setup.py build || return 1
21 python2 setup.py install --root ${pkgdir} || return 1
23 install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
24 install -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
27 md5sums=('03ce207391454db37279e78ce2112365'
28 '5a023d4dc34e98284b6ed3153a35bee0')