# Contributor: Ɓukasz Jendrysik # Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.7.06 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="ca81b220ead17dcd454ffcf52dbb6f33 duplicity-0.7.06.tar.gz" sha256sums="0075595edb894399cf00fae9154aae93a07eaadc031fede5df4cc595436c7f8c duplicity-0.7.06.tar.gz" sha512sums="ea591ca9b6e06b94a8d77142bf3a91495ca363fa09196d0a5134d7be3310a6fbf2ead8b9d36297d4fa1f951c3713057cc94c588c521c144e93297825534d88c6 duplicity-0.7.06.tar.gz"