blob: 0747150e86c76ca2007488a1b42ba3c02c5403ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=rdiff-backup
pkgver=1.3.3
pkgrel=2
pkgdesc="A backup utility that maintains extra reverse diffs so that files can be restored from previous backups."
url="http://www.gnu.org/savannah-checkouts/non-gnu/rdiff-backup/"
arch="all"
license="GPL2+"
depends=""
makedepends="librsync-dev python-dev"
subpackages="$pkgname-doc"
source="http://savannah.nongnu.org/download/rdiff-backup/$pkgname-$pkgver.tar.gz rdiff-backup-1.2.8-librsync-1.0.0.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="e3ec506c01e12b693adb79751daa7c63 rdiff-backup-1.3.3.tar.gz
5e54a67845edd6942fcf7359c921e003 rdiff-backup-1.2.8-librsync-1.0.0.patch"
sha256sums="ee030ce638df0eb1047cf72578e0de15d9a3ee9ab24da2dc0023e2978be30c06 rdiff-backup-1.3.3.tar.gz
a00d993d5ffea32d58a73078fa20c90c1c1c6daa0587690cec0e3da43877bf12 rdiff-backup-1.2.8-librsync-1.0.0.patch"
sha512sums="e2731464a6ff146cdecac49d2d99275dc5e6b4a3ff5b8209fe6dc71fd80cdbf573d029531325a879e9a169c12b31568f75fdcb812f53df33896784c5bc550280 rdiff-backup-1.3.3.tar.gz
641894eb2527c0031d420345e8dfd4d7a0e18dc656feabf70c7200d04ea5eb533d5cd06bbaa46721a03578e2f373e0ed64643edb4edffc7f85e813d1c2812055 rdiff-backup-1.2.8-librsync-1.0.0.patch"
|