summaryrefslogtreecommitdiffstats
path: root/main/duplicity/APKBUILD
blob: 6a5a6dd43f6a0da2a65db72133793cf4e9ae28bd (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.23
pkgrel=1
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="ae0e84446bcf114735de1057ed53c977  duplicity-0.6.23.tar.gz"
sha256sums="7a17f1e10395dedcf3204bc53925bb9dcbbf2a7552c9b096ebe727eceb9c0c60  duplicity-0.6.23.tar.gz"
sha512sums="35c3facf9f44e117c74d880bef3f50c2f6a778fac31b38398934007befbe5dedb3f56ccdd592c231c0835baaba905ca942a889e0a1358c1b79570db08376385a  duplicity-0.6.23.tar.gz"