summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c1415c90474958fc7b5db6a850e9308ef203f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: Eric Fung <loseurmarbles at gmail dot com>
# Contributor: GI_Jack <GI_Jack@hackermail.com>
# Contributor: Skydrome <skydrome@i2pmail.org>
# Contributor: DaNiMoTh <jjdanimoth@gmail.com>
# Contributor (Arch): Peter Simons <simons@cryp.to>
# Contributor (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>

pkgname=tahoe-lafs
pkgver=1.17.1
pkgrel=2
pkgdesc='Secure, decentralized, and fault-tolerant storage system.'
url='https://tahoe-lafs.org/trac/tahoe-lafs'
license=('GPL' 'custom')
arch=('any')
depends=('magic-wormhole'
         'python-argparse'
         'python-bcrypt'
         'python-cbor2'
         'python-collections-extended'
         'python-eliot'
         'python-foolscap'
         'python-future'
         'python-klein'
         'python-netifaces'
         'python-treq'
         'python-yaml'
         'python-zfec')
# python-boltons is for python-eliot until the maintainer adds it.

source=(https://tahoe-lafs.org/downloads/tahoe-lafs-${pkgver}.tar.gz{,.asc})

sha256sums=('2dc7fc103fe0e4f9fc69953934089f55e4428bd5d94670e844e64c210d7c1672'
            'SKIP')

validpgpkeys=('9D5A2BD5688ECB889DEBCD3FC2602803128069A7')
# https://meejah.ca/about/gnupg

build() {
    cd "${srcdir}/tahoe-lafs-${pkgver}"
    python setup.py build
}

package() {
    cd "${srcdir}/tahoe-lafs-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1
    install -Dm644 COPYING.GPL "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}