updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / perl-net-openssh / PKGBUILD
blob7815aee0af077ea05e244e63425031ac443e3aa4
1 # Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
2 pkgname=perl-net-openssh
3 pkgver=0.57
4 pkgrel=1
5 pkgdesc="Perl wrapper for OpenSSH secure shell client"
6 arch=(any)
7 url=http://search.cpan.org/~salva/Net-OpenSSH/
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-io-tty')
10 options=(!emptydirs)
11 changelog=Changes
12 source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-OpenSSH-$pkgver.tar.gz)
13 md5sums=('48ba7f3afb784d4be953bdec9ec4e323')
15 build() {
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
20         make || return 1
23 package() {
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