aboutsummaryrefslogtreecommitdiffstats
path: root/main/duplicity/APKBUILD
blob: 81974c05ae612cf6bb5a84790d44a509d18053c0 (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.25
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="bf5aa7f09f8c96e732dd870c0abf5bbf  duplicity-0.6.25.tar.gz"
sha256sums="ac44f44abc1c5fe775a49b77e722d238c0b3bbb105e083fd505e2dca8e2c1725  duplicity-0.6.25.tar.gz"
sha512sums="17304e38990e0a34aa4bae9f2d12a99ece031ac048667fba27afbcc32e1fb8455a2672426e49edb543bd7e345dc74f784f34c26ec2e1651eb10ba479868e04a0  duplicity-0.6.25.tar.gz"