summaryrefslogtreecommitdiff
path: root/community/duplicity/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/duplicity/PKGBUILD')
-rw-r--r--community/duplicity/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/duplicity/PKGBUILD b/community/duplicity/PKGBUILD
index e48dfc041..b9c55eaf2 100644
--- a/community/duplicity/PKGBUILD
+++ b/community/duplicity/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 71055 2012-05-22 21:28:05Z lfleischer $
+# $Id: PKGBUILD 78184 2012-10-17 10:23:31Z allan $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
pkgname=duplicity
pkgver=0.6.19
-pkgrel=1
+pkgrel=2
pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.nongnu.org/duplicity/'
license=('GPL')
-depends=('librsync' 'ncftp' 'python2' 'python-boto' 'python-gnupginterface' 'python-paramiko')
+depends=('librsync' 'ncftp' 'python2' 'python2-boto' 'python2-gnupginterface' 'python2-paramiko')
source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
md5sums=('c88122d0b651f84f3bfa42e55591c36b'
'df672ed47b8eb4fd8ffa99711623b6b5')
@@ -22,7 +22,11 @@ build() {
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
python2 setup.py install --root="$pkgdir" --optimize=1
# fix broken documentation permissions until upstream does (FS#27301)