updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-file-rsync / PKGBUILD
blob9b054b8e1a7187364f63536d477affd60076da52
1 pkgname=perl-file-rsync
2 _realname=File-RsyncP
3 pkgver=0.68
4 pkgrel=1
5 pkgdesc="Perl Rsync client"
6 arch=('i686' 'x86_64')
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')
14 build() {
15   cd ${srcdir}/${_realname}-${pkgver}
16   # install module in vendor directories.
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
18   make  || 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