# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: François Charette pkgname=perl-datetime-locale pkgver=0.44 pkgrel=1 pkgdesc="Localization support for DateTime.pm " arch=(any) url="http://search.cpan.org/dist/DateTime-Locale" license=('GPL' 'PerlArtistic') depends=('perl-params-validate' 'perl-list-moreutils') options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz) md5sums=('f2e4ba9f2de67d2296c92da2e7c8b27d') build() { cd $startdir/src/DateTime-Locale-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }