From d22b68a6758c4f29a8e50a7be467374a53c68415 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 9 Dec 2011 23:14:52 +0000 Subject: Fri Dec 9 23:14:52 UTC 2011 --- community/duplicity/PKGBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'community/duplicity/PKGBUILD') diff --git a/community/duplicity/PKGBUILD b/community/duplicity/PKGBUILD index 2c0d8feae..adcaa6edb 100644 --- a/community/duplicity/PKGBUILD +++ b/community/duplicity/PKGBUILD @@ -1,17 +1,19 @@ -# $Id: PKGBUILD 59792 2011-11-30 10:03:59Z lfleischer $ +# $Id: PKGBUILD 60285 2011-12-08 22:52:59Z lfleischer $ # Maintainer: Kaiting Chen # Contributor: Aaron Schaefer pkgname=duplicity pkgver=0.6.17 -pkgrel=2 +pkgrel=3 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') -source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('36423ab4e3b9aa90c5c44d9fa93fba0f') +source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz" + 'botobackend.patch') +md5sums=('36423ab4e3b9aa90c5c44d9fa93fba0f' + '49bbdc327230fe5985d18eaae37eec0c') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -22,9 +24,13 @@ build() { sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done + # add hotfix issued by upstream (FS#27390) + patch -p0 -i ../botobackend.patch + python2 setup.py install --root="$pkgdir" --optimize=1 - chmod 644 $pkgdir/usr/share/man/man1/$pkgname.1 - chmod 644 $pkgdir/usr/share/man/man1/rdiffdir.1 - chmod 644 $pkgdir/usr/share/doc/$pkgname-$pkgver/* + # fix broken documentation permissions until upstream does (FS#27301) + chmod 644 "$pkgdir/usr/share/man/man1/$pkgname.1" + chmod 644 "$pkgdir/usr/share/man/man1/rdiffdir.1" + chmod 644 "$pkgdir/usr/share/doc/$pkgname-$pkgver"/* } -- cgit v1.2.3-54-g00ecf