1 # Contributor: James Pearson <james.m.pearson+arch@gmail.com>
3 pkgname=perl-net-smtp-tls
6 pkgdesc="Net::SMTP::TLS - An SMTP client supporting TLS and AUTH"
8 url="http://search.cpan.org/~awestholm/Net-SMTP-TLS/"
9 license=('PerlArtistic')
10 depends=('perl' 'perl-digest-hmac' 'perl-io-socket-ssl')
12 source=(http://search.cpan.org/CPAN/authors/id/A/AW/AWESTHOLM/Net-SMTP-TLS-$pkgver.tar.gz)
13 md5sums=('a845eba3670e56a197ecd37f571d153a')
16 cd "$srcdir/Net-SMTP-TLS-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete