diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-09 23:55:58 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-09 23:55:58 (GMT) |
commit | 400bf7b9515362603d1ed71b8108599ceaa19afb (patch) | |
tree | b48564289218e6f1c0c438f9a8a320c750c5f738 /abs/core/python_modules/python-chardet | |
parent | 700c5f9a274d1a685c7f516cd132f672f1f93f77 (diff) | |
download | linhes_pkgbuild-400bf7b9515362603d1ed71b8108599ceaa19afb.zip linhes_pkgbuild-400bf7b9515362603d1ed71b8108599ceaa19afb.tar.gz linhes_pkgbuild-400bf7b9515362603d1ed71b8108599ceaa19afb.tar.bz2 |
python-chardet: recompile
Diffstat (limited to 'abs/core/python_modules/python-chardet')
-rw-r--r-- | abs/core/python_modules/python-chardet/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-chardet/PKGBUILD b/abs/core/python_modules/python-chardet/PKGBUILD new file mode 100644 index 0000000..d3e67d0 --- /dev/null +++ b/abs/core/python_modules/python-chardet/PKGBUILD @@ -0,0 +1,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=3 +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 +} + |