PKGBUILDs/community/perl-net-smtp-ssl/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
867 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=perl-net-smtp-ssl
pkgver=1.01
pkgrel=1
pkgdesc="SSL support for Net::SMTP"
arch=('i686' 'x86_64')
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)
build() {
cd ${srcdir}/Net-SMTP-SSL-${pkgver}
# Install module into the vendor directories.
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
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')