aboutsummaryrefslogtreecommitdiffstats
path: root/main/rdiff-backup/APKBUILD
blob: a417581a54ff9cfd78d97e6747bb4bbf3cbbff5f (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
# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com>
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=rdiff-backup
pkgver=1.2.8
pkgrel=0
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="GPL"
depends="python"
makedepends="librsync-dev python-dev"
subpackages="$pkgname-doc"
source="http://savannah.nongnu.org/download/rdiff-backup/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
        cd "$_builddir"
        python setup.py build || return 1
}

package() {
        cd "$_builddir"
        python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="1a94dc537fcf74d6a3a80bd27808e77b  rdiff-backup-1.2.8.tar.gz"