1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
5 pkgdesc="Perl support for the SSH 2 protocol via libssh2."
7 url="http://search.cpan.org/~rkitover/Net-SSH2-$pkgver/lib/Net/SSH2.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0', 'libssh2')
11 source=(http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Net-SSH2-$pkgver.tar.gz)
12 md5sums=('c4e48bb76b5644f1dd0d4aa541fe8e78')
15 cd "$srcdir/Net-SSH2-$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