void-packages/srcpkgs/rdiff-backup/template

20 lines
632 B
Bash

# Template file for 'rdiff-backup'
pkgname=rdiff-backup
version=1.2.8
revision=2
build_style=python2-module
pycompile_module="rdiff_backup"
hostmakedepends="python"
makedepends="python-devel librsync-devel"
depends="python"
short_desc="Local/remote mirroring and incremental backups"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://rdiff-backup.nongnu.org/"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=0d91a85b40949116fa8aaf15da165c34a2d15449b3cbe01c8026391310ac95db
pre_build() {
sed -i -e 's;RS_DEFAULT_STRONG_LEN;8, RS_MD4_SIG_MAGIC;' _librsyncmodule.c
}