# Contributor: Ɓukasz Jendrysik # Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.7.12 pkgrel=0 pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm" url="http://duplicity.nongnu.org/" arch="all" license="GPL" depends="python2 py-boto gnupg ncftp py-lockfile" makedepends="python2-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" python2 setup.py build || return 1 } package() { cd "$_builddir" python2 setup.py install --root "$pkgdir" } sha512sums="8a532e7bb548c170184666a0ba2b41a15f3002c14edd64b1b1eb4df862647fc6dfde797d6ecf38e326d7c160c31ff521baf351e520835495e1d0e2ddbdb19f0f duplicity-0.7.12.tar.gz"