From 15279b623384582bc2d371b751460ab75694afb8 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 16:52:09 +0000 Subject: perl-timedate: update to 2.30 --- abs/core/perl_modules/perl-timedate/PKGBUILD | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/abs/core/perl_modules/perl-timedate/PKGBUILD b/abs/core/perl_modules/perl-timedate/PKGBUILD index bd7d0e3..041ee58 100644 --- a/abs/core/perl_modules/perl-timedate/PKGBUILD +++ b/abs/core/perl_modules/perl-timedate/PKGBUILD @@ -1,37 +1,37 @@ # $Id$ -# Maintainer: Kevin Piche +# Maintainer: Felix Yan +# Contributor: Kevin Piche # Contributor: Manolis Tzanidakis pkgname=perl-timedate _realname=TimeDate -pkgver=1.20 -pkgrel=2 +pkgver=2.30 +pkgrel=4 pkgdesc="Date formating subroutines" -arch=(any) +arch=('any') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') -source=(http://www.cpan.org/authors/id/G/GB/GBARR/${_realname}-${pkgver}.tar.gz) -options=(!emptydirs) +depends=('perl') replaces=('timedate') provides=('timedate') -md5sums=('7da7452bce4c684e4238e6d09b390200') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/G/GB/GBARR/${_realname}-${pkgver}.tar.gz") +md5sums=('b1d91153ac971347aee84292ed886c1c') build() { - cd $srcdir/${_realname}-${pkgver} + cd ${_realname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd ${_realname}-${pkgver} make test } package() { - cd $srcdir/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + cd ${_realname}-${pkgver} + make install DESTDIR="${pkgdir}" } -# vim: ts=2 sw=2 et ft=sh -- cgit v0.12