1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=perl-email-date
7 pkgdesc="Perl/CPAN Module Email::Date : Find and Format Date Headers"
9 license=('GPL' 'PerlArtistic')
10 url="http://search.cpan.org/dist/Email-Date/"
11 depends=('perl-email-abstract' 'perl-timedate')
13 source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz)
14 md5sums=('c74b5b1d98ce7a92ed387970c461b5b4')
17 cd "${srcdir}/${_realname}-${pkgver}"
19 # Install module into the vendor directories.
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make DESTDIR=${pkgdir} install || return 1
24 # Remove .packlist and perllocal.pod files.
25 find ${pkgdir} -name '.packlist' -delete
26 find ${pkgdir} -name 'perllocal.pod' -delete
29 # vim: ts=2 sw=2 et ft=sh