rsnapshot: fix bug in pod that breaks pod2man.
This commit is contained in:
parent
3d04340a58
commit
f005f445d4
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rsnapshot'
|
# Template file for 'rsnapshot'
|
||||||
pkgname=rsnapshot
|
pkgname=rsnapshot
|
||||||
version=1.3.1
|
version=1.3.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
makedepends="perl-Lchown rsync openssh"
|
makedepends="perl-Lchown rsync openssh"
|
||||||
|
@ -15,6 +15,10 @@ homepage="http://www.rsnapshot.org"
|
||||||
distfiles="http://www.rsnapshot.org/downloads/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.rsnapshot.org/downloads/${pkgname}-${version}.tar.gz"
|
||||||
checksum=94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e
|
checksum=94b6c77e40628935f42a191bdc28ad93b1f132fde456ee76ee87763f1eddc75e
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# Fix pod error.
|
||||||
|
sed -i 's/=head1 USAGE/=back\n\n&/' rsnapshot-program.pl
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
|
mv ${DESTDIR}/etc/rsnapshot.conf.default ${DESTDIR}/etc/rsnapshot.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue