summaryrefslogtreecommitdiff
path: root/community/python2-cchardet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-cchardet/PKGBUILD')
-rw-r--r--community/python2-cchardet/PKGBUILD28
1 files changed, 0 insertions, 28 deletions
diff --git a/community/python2-cchardet/PKGBUILD b/community/python2-cchardet/PKGBUILD
deleted file mode 100644
index f24cbc0ac..000000000
--- a/community/python2-cchardet/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 80426 2012-11-21 14:15:53Z mtorromeo $
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
-
-pkgname=python2-cchardet
-pkgver=0.3.2
-pkgrel=1
-_libname=${pkgname/python2-/}
-pkgdesc="Universal encoding detector faster than chardet."
-url="http://pypi.python.org/pypi/cchardet/"
-depends=('python2')
-makedepends=('cython2' 'python2-distribute')
-license=('MIT')
-arch=('i686' 'x86_64' 'mips64el')
-source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
-
-build() {
- cd "$srcdir/$_libname-$pkgver"
- find -type f -exec sed -i '1 s|python\s*$|python2|' {} +
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/$_libname-$pkgver"
- python2 setup.py install --root="$pkgdir"
- install -m0644 -D "README.rst" "$pkgdir/usr/share/licenses/$pkgname/README.rst"
-}
-
-sha256sums=('a3e92811d5a8aacd9ecfdb4ea9637ba801b9b18b7c779dbdf41d07bb48235a23')