summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 583cf713b9fba112584e63b6f2617e3059884649 (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
48
# Maintainer: Felix Höffken <fupduck at sacknagel dot com>
# Contributor: Juraj Fiala <doctorjellyface at riseup dot net>

_srcname=soledad
pkgname=python2-leap_$_srcname
replaces=("python2-leap_${_srcname}_common" "python2-leap_${_srcname}_client")
pkgver=0.10.5
pkgrel=1
pkgdesc='Synchronization Of Locally Encrypted Data Among Devices.'
arch=('any')
url='https://bitmask.net/'
license=('GPL3')
depends=(
  'python2-leap_pycommon'
  'python2-paste'
  'python2-routes'
  'python2-six'
  'python2-twisted'
  'python2-treq'
  'python2-scrypt'
  'python2-zope-proxy'
  'python2-cryptography'
  'python2-pysqlcipher'
  'python2-configparser'
  'python2-beaker'
  'python2-couchdb'
)
#checkdepends=(
#  'python2-tox'
#)
source=("https://0xacab.org/leap/$_srcname/repository/$pkgver/archive.tar.gz")
sha512sums=('175653a7af2570baa795c0eaeb624dc92656fe85ca8e32fb66e0680f0551d28d26fde9068e34a83d438c813144454faaedbf60d2f658bbe2d25f0cafe58c5231')
noextract=("archive.tar.gz")

prepare() {
 mkdir "${srcdir}/$_srcname-$pkgver" && tar xvfz archive.tar.gz -C "${srcdir}/$_srcname-$pkgver/" --strip-components 1
}

build() {
  cd "${srcdir}/$_srcname-$pkgver/"
  python2 setup.py build
}

package_python2-leap_soledad () {

  cd "${srcdir}/$_srcname-$pkgver/"
  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
}