aboutsummaryrefslogtreecommitdiffstats
path: root/main/rdiff-backup
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-22 02:51:55 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-22 02:52:12 +0100
commitc67dddcf6c63950a35a81f2e26333b5c69ffbacf (patch)
tree021e1be59fbfd2deccc19134ec389c7dffe6aa81 /main/rdiff-backup
parent63fbab4e9834b658fe3887c1f3baac63e3ce0e79 (diff)
downloadaports-c67dddcf6c63950a35a81f2e26333b5c69ffbacf.tar.bz2
aports-c67dddcf6c63950a35a81f2e26333b5c69ffbacf.tar.xz
main/rdiff-backup: improve abuild
Diffstat (limited to 'main/rdiff-backup')
-rw-r--r--main/rdiff-backup/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/main/rdiff-backup/APKBUILD b/main/rdiff-backup/APKBUILD
index db7e0ea4a4..024bfad662 100644
--- a/main/rdiff-backup/APKBUILD
+++ b/main/rdiff-backup/APKBUILD
@@ -4,33 +4,25 @@ pkgname=rdiff-backup
# Note: Do not update to 1.3.3, it's development/unstable version! #6458
pkgver=1.2.8
pkgrel=2
-pkgdesc="A backup utility that maintains extra reverse diffs so that files can be restored from previous backups."
+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 python2-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
-}
+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"
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build || return 1
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="1a94dc537fcf74d6a3a80bd27808e77b rdiff-backup-1.2.8.tar.gz