updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-net-smtp-tls / PKGBUILD
blob974011a9fabc0e56683bc9cc76a33d6237fb8430
1 # Contributor: James Pearson <james.m.pearson+arch@gmail.com>
3 pkgname=perl-net-smtp-tls
4 pkgver=0.12
5 pkgrel=3
6 pkgdesc="Net::SMTP::TLS - An SMTP client supporting TLS and AUTH"
7 arch=('i686' 'x86_64')
8 url="http://search.cpan.org/~awestholm/Net-SMTP-TLS/"
9 license=('PerlArtistic')
10 depends=('perl' 'perl-digest-hmac' 'perl-io-socket-ssl')
11 options=(!emptydirs)
12 source=(http://search.cpan.org/CPAN/authors/id/A/AW/AWESTHOLM/Net-SMTP-TLS-$pkgver.tar.gz)
13 md5sums=('a845eba3670e56a197ecd37f571d153a')
15 build() {
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
20   make || 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