mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 00:38:27 +08:00
20 lines
654 B
Bash
20 lines
654 B
Bash
|
# $Id: PKGBUILD 79400 2010-05-03 19:44:30Z ibiru $
|
||
|
# Maintainer : Ionut Biru <ibiru@archlinux.org>
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
pkgname=python-chardet
|
||
|
_pkgnamebase=python2-chardet
|
||
|
pkgver=2.0.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="Python module for character encoding auto-detection"
|
||
|
arch=('any')
|
||
|
url="http://chardet.feedparser.org"
|
||
|
license=('LGPL')
|
||
|
depends=('python')
|
||
|
source=(http://chardet.feedparser.org/download/${_pkgnamebase}-${pkgver}.tgz)
|
||
|
sha256sums=('56fa0c37189b0a5f082d064dec59d69a044aaa3eeb7acb9b3081e2ba306deaa4')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${_pkgnamebase}-${pkgver}"
|
||
|
python setup.py install --root="${pkgdir}" --optimize=1 || return 1
|
||
|
}
|