# $Id$ # Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-datetime-format-w3cdtf pkgver=0.07 pkgrel=2 pkgdesc="Parse and format W3CDTF datetime strings" arch=('any') url="http://search.cpan.org/dist/DateTime-Format-W3CDTF" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-datetime') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz) sha256sums=('69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268') build() { cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir"/DateTime-Format-W3CDTF-$pkgver make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }