void-packages/srcpkgs/rsnapshot/template

21 lines
717 B
Bash

# Template file for 'rsnapshot'
pkgname=rsnapshot
version=1.4.4
revision=1
build_style=gnu-configure
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=c1cb7cb748c5a9656c386362bdf6c267959737724abb505fbf9e940a9d988579
conf_files="/etc/${pkgname}.conf"
post_install() {
mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
}