aboutsummaryrefslogtreecommitdiffstats
path: root/main/duplicity/APKBUILD
blob: fc7315398b6d169e6332344e69271760104f2430 (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.7.02
pkgrel=0
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="http://duplicity.nongnu.org/"
arch="all"
license="GPL"
depends="python py-boto 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="a6a19b89e50dd52567b6c6c2cc37b9aa  duplicity-0.7.02.tar.gz"
sha256sums="609462ba43275340ae4fc008ee6620265cdc2c68988caae289971dd609ed033a  duplicity-0.7.02.tar.gz"
sha512sums="fb60c079a01ec7117c71cc65d885fe474e616ea5621c37fa3ea18037e531972e9faaeda9041dcd85d008bb8f1f0c68e4c42672b66296a3db192a74ed0f30f19a  duplicity-0.7.02.tar.gz"