# Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.7.03 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="96b79a22144d4853615f4bc537caaac1 duplicity-0.7.03.tar.gz" sha256sums="dec756ebe6cd25a6a55d9f31954fd8e07f4502063e4e148bdde4b1b3b2ad4615 duplicity-0.7.03.tar.gz" sha512sums="91850f0179645d6ddf521770b311d29a6614096e5e29ccfc0257f67daa65337733524a622c3be4d19651a9a1b871ce929bf4bffcd51794c3ee6ebe3fb1262225 duplicity-0.7.03.tar.gz"