# Template file for 'rsnapshot'
pkgname=rsnapshot
version=1.4.2
revision=1
build_style=gnu-configure
hostmakedepends="perl rsync openssh"
makedepends="perl-Lchown"
depends="perl perl-Lchown rsync openssh"
conf_files="/etc/${pkgname}.conf"
noarch="yes"
short_desc="A remote filesystem snapshot utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.rsnapshot.org"
distfiles="http://www.rsnapshot.org/downloads/${pkgname}-${version}.tar.gz"
checksum=042a81c45b325296b21c363f417985d857f083f87c5c27f5a64677a052f24e16
nocross=yes

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