summaryrefslogtreecommitdiff
path: root/community/rdiff-backup/PKGBUILD
blob: 5f4c3446517b857d947771fdd18e4cfaf05c689d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 26407 2010-09-15 11:58:40Z schuay $
# Maintainer: Aaron Schaefer <aaron@elasticdog.com>
# Contributor: Erwin Van de Velde <erwin.vandevelde@gmail.com>
pkgname=rdiff-backup
pkgver=1.2.8
pkgrel=4
pkgdesc='A utility for local/remote mirroring and incremental backups'
arch=('i686' 'x86_64')
url='http://www.nongnu.org/rdiff-backup/'
license=('GPL')
depends=('python2' 'librsync')
optdepends=('pylibacl: access control list support'
            'pyxattr: extended attribute support')
source=("http://savannah.nongnu.org/download/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('1a94dc537fcf74d6a3a80bd27808e77b')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python2 setup.py install --root="${pkgdir}" -O1

  # Fix for FS#18848
  sed -i 's|python2|python2 -W ignore::DeprecationWarning|' ${pkgdir}/usr/bin/rdiff-backup
}