# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Abhishek Dasgupta # Contributor: Abhishek Dasgupta 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')