From 9e3985ed7c9851da65023a0ab3d0739cce1858e2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Oct 2012 01:24:49 -0700 Subject: Thu Oct 18 01:23:58 PDT 2012 --- community/duplicity/PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'community/duplicity/PKGBUILD') diff --git a/community/duplicity/PKGBUILD b/community/duplicity/PKGBUILD index 7582d22f7..b28c2b551 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 # Contributor: Aaron Schaefer 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') 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) -- cgit v1.2.3-54-g00ecf