diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-31 16:52:09 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-31 16:52:09 (GMT) |
commit | 15279b623384582bc2d371b751460ab75694afb8 (patch) | |
tree | 1fad0190847aecf9e3ea3496b4fa21a9b1286798 | |
parent | 6f5a350a4cf1623bf977d5a9c9f505f09de3f8ca (diff) | |
download | linhes_pkgbuild-15279b623384582bc2d371b751460ab75694afb8.zip linhes_pkgbuild-15279b623384582bc2d371b751460ab75694afb8.tar.gz linhes_pkgbuild-15279b623384582bc2d371b751460ab75694afb8.tar.bz2 |
perl-timedate: update to 2.30
-rw-r--r-- | abs/core/perl_modules/perl-timedate/PKGBUILD | 32 |
1 files 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 <kevin@archlinux.org> +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Kevin Piche <kevin@archlinux.org> # 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 |