Commit df6e43ce authored by Leo's avatar Leo

main/rdiff-backup: upgrade to 2.0.0

parent 272dfe5d
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=rdiff-backup
# Note: Do not update to 1.3.3, it's development/unstable version! #6458
pkgver=1.2.8
pkgrel=3
pkgdesc="A backup utility that maintains extra reverse diffs so that files can be restored from previous backups"
pkgver=2.0.0
pkgrel=0
pkgdesc="Reverse differential backup tool"
options="!check" # Requires unpacakged 'xattr'
url="https://rdiff-backup.net/"
arch="all"
license="GPL-2.0-or-later"
options="!check" # no testsuite
makedepends="librsync-dev python2-dev"
subpackages="$pkgname-doc"
source="https://savannah.nongnu.org/download/rdiff-backup/$pkgname-$pkgver.tar.gz
rdiff-backup-1.2.8-librsync-1.0.0.patch"
builddir="$srcdir/$pkgname-$pkgver"
makedepends="librsync-dev python3-dev py3-setuptools"
subpackages="
$pkgname-doc
$pkgname-bash-completion:bashcomp:noarch
"
source="https://github.com/rdiff-backup/rdiff-backup/releases/download/v$pkgver/rdiff-backup-$pkgver.tar.gz"
build() {
python2 setup.py build
python3 setup.py build
}
package() {
python2 setup.py install --prefix=/usr --root="$pkgdir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="4230bdfca7fc2a5ffd7bdc92ca899cde3276042115b4f488255a201e6ea361eab4ce4ebaae15841c357f189e1c88ad037e2727dec0a05c61b1c6016fa807739c rdiff-backup-1.2.8.tar.gz
641894eb2527c0031d420345e8dfd4d7a0e18dc656feabf70c7200d04ea5eb533d5cd06bbaa46721a03578e2f373e0ed64643edb4edffc7f85e813d1c2812055 rdiff-backup-1.2.8-librsync-1.0.0.patch"
bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
amove usr/share/bash-completion
}
sha512sums="0bf06d4eefffd41e86224d798e6ac6852ca0fd356be73d651ffaf63c37aaa043a6d22f8025619ab4a86e54f6e98e61f445ab68a6f87f4f2f48e635507ea110ec rdiff-backup-2.0.0.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment