updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-email-date / PKGBUILD
blobef9f7579a4f895d0f155c8dd92912a357a62d37c
1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=perl-email-date
4 _realname=Email-Date
5 pkgver=1.103
6 pkgrel=2
7 pkgdesc="Perl/CPAN Module Email::Date : Find and Format Date Headers"
8 arch=(i686 x86_64)
9 license=('GPL' 'PerlArtistic')
10 url="http://search.cpan.org/dist/Email-Date/"
11 depends=('perl-email-abstract' 'perl-timedate')
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz)
14 md5sums=('c74b5b1d98ce7a92ed387970c461b5b4')
16 build() {
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
21   make || return 1
22   make DESTDIR=${pkgdir} install || return 1
23   
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