# Template file for 'rsnapshot'
pkgname=rsnapshot
version=1.5.1
revision=1
build_style=gnu-configure
make_check_target="test"
hostmakedepends="perl rsync openssh"
makedepends="perl-Lchown"
depends="perl perl-Lchown rsync openssh"
short_desc="Remote filesystem snapshot utility"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.rsnapshot.org"
changelog="https://raw.githubusercontent.com/rsnapshot/rsnapshot/master/ChangeLog"
distfiles="https://www.rsnapshot.org/downloads/rsnapshot-${version}.tar.gz"
checksum=8f6af8046ee6b0293b26389d08cb6950c7f7ddfffc1f74eefcb087bd49d44f62
conf_files="/etc/rsnapshot.conf"

post_install() {
	mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
}
