# Maintainer: Storm Dragon pkgname=magic-wormhole pkgver=0.11.0 pkgrel=1 pkgdesc="Securely transfer data between computers" arch=('any') url="https://pypi.python.org/pypi/${pkgname}/${pkgver}" license=('MIT') depends=('python' 'python-click' 'python-cffi' 'python-autobahn' 'python-tqdm' 'python-hkdf' 'python-pynacl' 'python-spake2' 'python-humanize' 'python-idna' 'python-service-identity' 'python-ipaddress' 'python-txtorcon') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") conflicts=("wormhole" "wormhole-server") provides=("wormhole" "wormhole-server") md5sums=('7895fbef34c24b954e1c4b0196bc39f7') build() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 }