# Description: Mozilla's CA cert bundle in PEM format
# URL: http://search.cpan.org/
# Packager: pierre at nutyx dot org
# Depends on: perl 
run=( perl )
name=perl-mozilla-ca
version=20130114
release=1

source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-$version.tar.gz)

build() {
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT

cd Mozilla-CA-$version
perl Makefile.PL
make
make install INSTALLDIRS=vendor DESTDIR=$PKG
find $PKG \
         -name '*.bs' -or \
         -name '.packlist' -or \
         -name 'perllocal.pod' | xargs rm
}
