1 # Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
2 pkgname=perl-net-openssh
5 pkgdesc="Perl wrapper for OpenSSH secure shell client"
7 url=http://search.cpan.org/~salva/Net-OpenSSH/
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-io-tty')
12 source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-OpenSSH-$pkgver.tar.gz)
13 md5sums=('48ba7f3afb784d4be953bdec9ec4e323')
16 cd "$srcdir/Net-OpenSSH-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
24 cd "$srcdir/Net-OpenSSH-$pkgver"
25 make install DESTDIR=${pkgdir} || return 1
26 # remove perllocal.pod and .packlist
27 find "$pkgdir" -name perllocal.pod -delete
28 find "$pkgdir" -name .packlist -delete