updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / python-mimeparse / PKGBUILD
blob60349869d04ce0775107f622e78f833732c47b45
1 # Contributor: Jesse Young <jesse.young@gmail.com>
3 pkgname=python-mimeparse
4 _pkgname="${pkgname#python-}"
5 pkgver=0.1.3
6 pkgrel=1
7 pkgdesc="This module provides basic functions for parsing mime-type names and matching them against a list of media-ranges."
8 arch=('any')
9 url="http://code.google.com/p/mimeparse/"
10 license=('MIT')
11 depends=('python2')
12 conflicts=()
13 replaces=()
14 source=("http://${_pkgname}.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz"
15         "http://${_pkgname}.googlecode.com/svn/trunk/LICENSE")
17 build() {
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')