# Maintainer: Leonardo Arena pkgname=perl-email-address-list pkgver=0.06 pkgrel=0 pkgdesc="RFC close address list parsing" url="http://search.cpan.org/dist/Email-Address-List/" arch="noarch" license="GPL+ or Artistic" depends="perl perl-email-address" makedepends="perl-dev perl-json perl-module-install" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Email-Address-List-$pkgver.tar.gz" builddir="$srcdir/Email-Address-List-$pkgver" # secfixes: # 0.06-r0: # - CVE-2018-18898 build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="8a173198bed7b5bf41801de9713f424459366b937493bb15c0362843cfe78ca02ce2709f2fe31f3fd61752c0d52956b059e09c3becdbfab0887e9efae6112141 Email-Address-List-0.06.tar.gz"