blob: 6ed108674870111a5ecbab4358cd100041800ea0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $Id: PKGBUILD 87872 2010-08-18 15:26:20Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=python-chardet
_pkgnamebase=python2-chardet
pkgver=2.0.1
pkgrel=2
pkgdesc="Python module for character encoding auto-detection"
arch=('any')
url="http://chardet.feedparser.org"
license=('LGPL')
depends=('python2')
source=(http://chardet.feedparser.org/download/${_pkgnamebase}-${pkgver}.tgz)
sha256sums=('56fa0c37189b0a5f082d064dec59d69a044aaa3eeb7acb9b3081e2ba306deaa4')
build() {
cd "${srcdir}/${_pkgnamebase}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
}
|