summaryrefslogtreecommitdiffstats
path: root/main/duplicity/APKBUILD
blob: 20a71c052f73a36a1745f60341589f343c1f18c0 (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
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=duplicity
pkgver=0.6.24
pkgrel=0
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="http://duplicity.nongnu.org/"
arch="all"
license="GPL"
depends="python py-boto librsync gnupg ncftp py-lockfile"
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() {
        local i
        cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}

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

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

md5sums="5d4e9329a6d793880909d18b0736ff06  duplicity-0.6.24.tar.gz"
sha256sums="1d41d756638f55106f9501c3db94ccbc6568aa856ba531e07ed2cfb760b62450  duplicity-0.6.24.tar.gz"
sha512sums="5bb783ef6ddbfa6672279287b01f44e33256829971e7b8bbe26d648d2c78d438018bddd977281b8a1ff7e5c1505a3b60fe03ecb5ba8022a597f9f952b2815273  duplicity-0.6.24.tar.gz"