updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-datetime-format-dateparse / PKGBUILD
blobd617d4ce95288d584b81d3e015d8f3b4dc2e9775
1 # Contributor: giniu <gginiu@gmail.com>
2 pkgname=perl-datetime-format-dateparse
3 pkgver=0.05
4 pkgrel=1
5 pkgdesc="Parses Date::Parse compatible formats"
6 arch=(any)
7 url="http://search.cpan.org/~jhoblitt/DateTime-Format-DateParse/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-timedate')
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-DateParse-$pkgver.tar.gz)
12 md5sums=('a9a66f74aeba7c45730430dbf9b37cfd')
14 build() {
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
19   make || 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: