# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-datetime-format-mail pkgver=0.403 pkgrel=0 pkgdesc="DateTime::Format::Mail perl module" url="http://search.cpan.org/dist/DateTime-Format-Mail/" arch="noarch" license="GPL-2.0 or Artistic" depends="perl perl-datetime perl-params-validate" makedepends="perl-dev" install="" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-$pkgver.tar.gz" builddir="$srcdir"/DateTime-Format-Mail-$pkgver 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="b5e6f0ffdda3c52aa64b65414f399dcc06f72004c5421f8f0dbf1f9d4cda6e0deb1c3873df62531dc265a44ac66fd110dfc1d4273c97a48b0c472a67b03fd56f DateTime-Format-Mail-0.403.tar.gz"