# Maintainer: Luke R. GPG: rsa4096/3EAE8697 # Contributor (Arch) : Skydrome # Contributor (Arch): DaNiMoTh # Contributor (Arch): Peter Simons # Contributor (Arch): Nicolas Pouillard pkgname=tahoe-lafs pkgver=1.11.0 pkgrel=1 pkgdesc="Secure, decentralized, and fault-tolerant filesystem." url='https://tahoe-lafs.org/trac/tahoe-lafs' license=('GPL') arch=('any') conflicts=('tahoe-lafs-i2p') BUILDENV+=(!check) depends=('openssl>=1.0.2' 'python2-twisted>=15.1.0' 'python2-pyopenssl>=0.14' 'python2-pyasn1>=0.1.8' 'python2-pyasn1-modules>=0.0.5' 'python2-zope-interface>=4.0.5' 'python2-characteristic>=14.3.0' 'python2-service-identity>=14.0.0' 'python2-cryptography' 'pyutil>=1.9.4' 'python2-simplejson>=3.1.3' 'nevow>=0.11.1' 'zbase32>=1.1.5' 'zfec>=1.4.24' 'pycryptopp>=0.6.0' 'python2-cffi' 'python2-enum34' 'python2-pycparser' 'python2-six' 'libffi' 'python2-foolscap>=0.10.1' 'net-tools' # provides /sbin/ifconfig 'python2-setuptools') optdepends=('python2-numpy: reliability test') source=("https://tahoe-lafs.org/downloads/tahoe-lafs-$pkgver.tar.bz2" "https://tahoe-lafs.org/downloads/tahoe-lafs-$pkgver.tar.bz2.asc") sha512sums=('f8adce8596d4f9d6fe2370daf11ed7667ef32fa2fbcccf50e7810004426ca6c9eaa7e324b420cb3863f914dd5950374d13d7f794227da2a71a284113e6625b62' 'deba80ed6ef57fe1e003f91596cbdb72eb55881ae0639c4196c73bab464f0f2f93c455912f9d54f83e3cb0e593336ac86b5d8ed7aa26515aabe7b0d657947fc3') validpgpkeys=('E34E62D06D0E69CFCA4179FFBDE0D31D68666A7A') # Tahoe-LAFS Release-Signing Key build(){ cd "${srcdir}/tahoe-lafs-${pkgver}" python2 setup.py build } check() { cd "${srcdir}/tahoe-lafs-${pkgver}" msg "This may take a while" python2 bin/tahoe debug trial $MAKEFLAGS } package(){ cd "${srcdir}/tahoe-lafs-${pkgver}" python2 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 COPYING.GPL "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }