1 # Contributor: Marcin Karpezo <sirmacik at archrepo dot net>
5 pkgdesc="Perl extension for secure copy protocol"
7 url="http://search.cpan.org/~ivan/Net-SCP-0.08/SCP.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-net-ssh' 'perl-string-shellquote')
11 source=(http://search.cpan.org/CPAN/authors/id/I/IV/IVAN/Net-SCP-$pkgver.tar.gz)
12 md5sums=('09005478b3eb9f151163f58d03cf83c4')
15 cd "$srcdir/Net-SCP-$pkgver"
17 # install module in vendor directories.
18 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR=${pkgdir} || return 1
22 # remove perllocal.pod and .packlist
23 find "$pkgdir" -name perllocal.pod -delete
24 find "$pkgdir" -name .packlist -delete
27 # vim:set ts=2 sw=2 et: