diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7bdc22125501 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Cravix <dr dot neemous at gmail dot com> +# Contributor: Veli-Jussi Raitila <vjr AT iki DOT fi> + +pkgname=python-charade +_pkgname=charade +pkgver=1.0.3 +pkgrel=1 +pkgdesc="Universal encoding detector for Python 2 and 3. Python3 version." +arch=('any') +url="https://github.com/sigmavirus24/charade" +license=('LGPL') +depends=('python') + +source=(http://pypi.python.org/packages/source/c/charade/${_pkgname}-${pkgver}.tar.gz) +md5sums=('79ac701a147705c09bdce31b79dfa12e') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + python3 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + python3 setup.py install --root="$pkgdir" || return 1 +} |