diff options
author | Lin | 2015-06-16 21:27:44 +0800 |
---|---|---|
committer | Lin | 2015-06-16 21:27:44 +0800 |
commit | b0606c5a12db58e6b29e289897345e0944bebebe (patch) | |
tree | f0e60702615b4e8f562093b476a6b6d8d485f705 /PKGBUILD | |
download | aur-b0606c5a12db58e6b29e289897345e0944bebebe.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..51cbec60c3c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Cravix <dr dot neemous at gmail dot com> +# Contributor: Veli-Jussi Raitila <vjr AT iki DOT fi> + +pkgname=python2-charade +_pkgname=charade +pkgver=1.0.3 +pkgrel=3 +pkgdesc="Universal encoding detector for Python 2 and 3. Python2 version." +arch=('any') +url="https://github.com/sigmavirus24/charade" +license=('LGPL') +depends=('python2') + +source=(http://pypi.python.org/packages/source/c/charade/${_pkgname}-${pkgver}.tar.gz) +md5sums=('79ac701a147705c09bdce31b79dfa12e') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="$pkgdir" || return 1 + + cd "${pkgdir}/usr/bin" + mv charade charade2 +} |