1 # Contributor: giniu <gginiu@gmail.com>
2 pkgname=perl-datetime-format-dateparse
5 pkgdesc="Parses Date::Parse compatible formats"
7 url="http://search.cpan.org/~jhoblitt/DateTime-Format-DateParse/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-timedate')
11 source=(http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-DateParse-$pkgver.tar.gz)
12 md5sums=('a9a66f74aeba7c45730430dbf9b37cfd')
15 cd "$srcdir/DateTime-Format-DateParse-$pkgver"
17 # install module in vendor directories.
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR="$pkgdir/" || return 1
22 # remove perllocal.pod and .packlist
23 find "$pkgdir" -name perllocal.pod -delete
24 find "$pkgdir" -name .packlist -delete
27 # vim:set ts=2 sw=2 et: