# Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.7.05 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="b2f28a48aa392e81c740ac30d28e9250 duplicity-0.7.05.tar.gz" sha256sums="1e53807d5de5bacbbe6c4eea2f313a16e9a63423316ae7b8597ee0d9e697f744 duplicity-0.7.05.tar.gz" sha512sums="312558808acd12ef0465b4a3c509ea7cf190b8e9274d56e312781580e0b3bba6afa5dadfba3bdc9171fd261ecfab8f03cb535ccd9f36949655dff91e396d3a8a duplicity-0.7.05.tar.gz"