1 pkgname=perl-file-rsync
5 pkgdesc="Perl Rsync client"
7 license=('GPL' 'PerlArtistic')
8 url="http://search.cpan.org/dist/${_realname}/"
9 depends=('perl>=5.10.0', 'rsync')
10 options=('!emptydirs')
11 source=(http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/${_realname}-${pkgver}.tar.gz)
12 md5sums=('ed47c5ef7ff835415692f18137cb0cf9')
15 cd ${srcdir}/${_realname}-${pkgver}
16 # install module in vendor directories.
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
19 make install DESTDIR=${pkgdir} || return 1
21 # remove perllocal.pod and .packlist
22 find ${pkgdir} -name perllocal.pod -delete
23 find ${pkgdir} -name .packlist -delete