2013-08-19 15:07:14 +00:00
|
|
|
# Template file for 'rsnapshot'
|
|
|
|
pkgname=rsnapshot
|
|
|
|
version=1.3.1
|
2015-04-03 14:48:39 +00:00
|
|
|
revision=3
|
2013-08-19 15:07:14 +00:00
|
|
|
build_style=gnu-configure
|
2015-04-03 14:48:39 +00:00
|
|
|
hostmakedepends="perl rsync openssh"
|
|
|
|
makedepends="perl-Lchown"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="perl perl-Lchown rsync openssh"
|
|
|
|
conf_files="/etc/${pkgname}.conf"
|
|
|
|
noarch="yes"
|
2013-08-19 15:07:14 +00:00
|
|
|
short_desc="A remote filesystem snapshot utility"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-08-19 15:07:14 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.rsnapshot.org"
|
|
|
|
distfiles="http://www.rsnapshot.org/downloads/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e
|
|
|
|
|
2015-04-03 14:40:08 +00:00
|
|
|
post_extract() {
|
|
|
|
# Fix pod error.
|
|
|
|
sed -i 's/=head1 USAGE/=back\n\n&/' rsnapshot-program.pl
|
|
|
|
}
|
2013-08-19 15:07:14 +00:00
|
|
|
post_install() {
|
|
|
|
mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
|
|
|
|
}
|