# Contributor: A. Wilcox # Maintainer: Síle Ekaterin Liszka pkgname=perl-email-date-format _pkgreal=Email-Date-Format _author=RJBS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.008 pkgrel=0 pkgdesc="Produce RFC 2822 date strings in Perl" url="https://metacpan.org/release/Email-Date-Format" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="24c97cd3b739c2f3c298b9ec168c4614bb71b13a0106f351990443cc86506e4e121f9c647bde6f08080a876f36adeb3fcef566d87ded9bddcbec6f3191f508be Email-Date-Format-1.008.tar.gz"