aboutsummaryrefslogtreecommitdiffstats
path: root/main/duplicity/APKBUILD
blob: 59830add88045dd76fa5edbe16d387b627eebee3 (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
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=duplicity
pkgver=0.6.22
pkgrel=0
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="http://duplicity.nongnu.org/"
arch="all"
license="GPL"
depends="python py-boto ncftp librsync gnupg"
makedepends="python-dev py-setuptools librsync-dev"
install=
subpackages="$pkgname-doc $pkgname-lang"
source="https://code.launchpad.net/$pkgname/${pkgver:0:3}-series/$pkgver/+download/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --root "$pkgdir"
}

md5sums="5b035359a6bb7b2f3f3b9829c6c071e1  duplicity-0.6.22.tar.gz"
sha256sums="6f489b0445681f0697488f3d4097b4c56a7fe8a5fea5fadd2e431724039c5a12  duplicity-0.6.22.tar.gz"
sha512sums="0fe838707c91e2933f0edc4b9258edd081a2e0b8ed0cd31bf229f08883b60ca9cb8d44f70b00632a926548d375417e3a5f9747a0c3eeef15bfa541a27062dfd5  duplicity-0.6.22.tar.gz"