1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
4 pkgname=perl-datetime-format-w3cdtf
7 pkgdesc="Parse and format W3CDTF datetime strings"
9 url="https://search.cpan.org/dist/DateTime-Format-W3CDTF"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl>=5.10.0' 'perl-datetime')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz)
14 sha256sums=('dcc200a073a21cba48122a5dae0b6a875df93d3f8c8ae9d446dcdd9befaa413a')
17 cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23 cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver
24 make install DESTDIR="$pkgdir"
25 find "$pkgdir" -name '.packlist' -delete
26 find "$pkgdir" -name '*.pod' -delete