summaryrefslogtreecommitdiff
path: root/community/duplicity/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/duplicity/PKGBUILD')
-rw-r--r--community/duplicity/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
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 <kaitocracy@gmail.com>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
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"/*
}