void-packages/srcpkgs/rsnapshot/template

22 lines
741 B
Bash

# Template file for 'rsnapshot'
pkgname=rsnapshot
version=1.4.5
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=10b75e01ca25511e8266aacd495531975ad1a8ad556216b6a57c76d028b38242
conf_files="/etc/rsnapshot.conf"
post_install() {
mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
}