# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _cpaname="Email-Valid" _cpanauthor=RJBS pkgname=perl-email-valid pkgver=1.203 pkgrel=1 pkgdesc="Check validity of Internet email addresses" # disable missing depends #arch="noarch" url="http://search.cpan.org/dist/$_cpaname/" license="GPL" depends=" perl-io-captureoutput perl-mailtools perl-net-dns perl-net-domain-tld " source="http://www.cpan.org/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/$_cpanauthor/$_cpaname-$pkgver.tar.gz" subpackages="$pkgname-doc" builddir="$srcdir"/$_cpaname-$pkgver build() { export PERL_MM_FALLBACK_SILENCE_WARNING=true perl Makefile.PL make } check() { make test } package() { make install INSTALLDIRS=vendor DESTDIR="$pkgdir" rm "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod } sha512sums=" 5c91298df72d1084401be47f035d44a350a0aa5de7bfa5019b7f2b44fe61a1e64875f77a4b3412d660f0136c548dde6158eae1a8fcba4442d0de0a19c51e84fd Email-Valid-1.203.tar.gz "