2 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
4 pkgname=perl-date-simple
8 pkgdesc="Perl module for simple Date objects"
10 url="https://metacpan.org/release/${_dist}"
11 license=('PerlArtistic' 'GPL')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/I/IZ/IZUT/${_dist}-${pkgver}.tar.gz)
15 md5sums=('436049dc2c7dfd8423d8bcc807248b31')
16 sha512sums=('3e64a0ba224427e688a45945860fd5e876e6ca5b01298e744e257981ed84d933ab14c9ab8d5b74316c031ffa9821afd9563270109cba20a5939f14af2dde8668')
19 cd "${srcdir}/${_dist}-${pkgver}"
20 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
21 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
27 cd "${srcdir}/${_dist}-${pkgver}"
28 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
29 export PERL_MM_USE_DEFAULT=1
34 cd "${srcdir}/${_dist}-${pkgver}"
35 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
36 make install INSTALLDIRS=vendor DESTDIR="$pkgdir"