# Maintainer: Clément Démoulins # Contributor: Lucky # Contributor: Jonathan Curran plugrel=1 pkgname=python2-yenc _pkgname="dual75-yenc" pkgver=0.4.0 pkgrel=1 pkgdesc="yEnc encoding/decoding module for python2" url="http://www.golug.it/yenc.html" arch=('i686' 'x86_64') license=("GPL") depends=("python2") conflicts=("python-yenc") replaces=("python-yenc") #source=("http://www.golug.it/pub/yenc/${_pkgname}-${pkgver}.tar.gz") source=("https://bitbucket.org/dual75/yenc/get/${pkgver}.tar.bz2") md5sums=('b6605653c353073d814dafa66451d00d') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py install --root="${pkgdir}" --optimize=1 }