summaryrefslogtreecommitdiffstats
path: root/abs/extra/perl-net-smtp-ssl/PKGBUILD
blob: 0a10c5bf2dc45868700bb0eef86b6771f7e4cfd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 64819 2012-02-18 11:10:48Z cbrannon $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>

pkgname=perl-net-smtp-ssl
pkgver=1.01
pkgrel=3
pkgdesc="SSL support for Net::SMTP"
arch=(any)
url="http://search.cpan.org/dist/Net-SMTP-SSL/"
license=('GPL' 'PerlArtistic')
depends=('perl-io-socket-ssl')
source=("http://www.cpan.org/authors/id/C/CW/CWEST/Net-SMTP-SSL-${pkgver}.tar.gz")
options=(!emptydirs)

package() {
  cd "${srcdir}/Net-SMTP-SSL-${pkgver}"
  # Install module into the vendor directories.
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make DESTDIR="$pkgdir" install || return 1

  # Remove .packlist and perllocal.pod files.
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name 'perllocal.pod' -delete
}
md5sums=('ba039288ebf7a343feecacd374da8c1a')