From 98ed26c0537a50b3ecc5dd28ba02e2425157bfaa Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 19:26:14 +0000
Subject: perl-date-manip: update to 6.70

---
 abs/core/perl_modules/perl-date-manip/PKGBUILD | 32 ++++++++++++++------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/abs/core/perl_modules/perl-date-manip/PKGBUILD b/abs/core/perl_modules/perl-date-manip/PKGBUILD
index 0ef2f9c..8688fd1 100644
--- a/abs/core/perl_modules/perl-date-manip/PKGBUILD
+++ b/abs/core/perl_modules/perl-date-manip/PKGBUILD
@@ -1,29 +1,31 @@
-# $Id: PKGBUILD 161416 2012-06-11 02:54:05Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=perl-date-manip
-_realname=Date-Manip
-pkgver=6.32
+pkgver=6.70
 pkgrel=1
 pkgdesc="Date::Manip - date manipulation routines"
 arch=('any')
 license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-yaml-syck')
+url="http://search.cpan.org/dist/Date-Manip/"
+depends=('perl')
+checkdepends=('perl-test-inter')
 options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/${_realname}-${pkgver}.tar.gz)
-md5sums=('0d5c1ee2f75f6407fb1035e3535f650b')
+source=("http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-${pkgver}.tar.gz")
+sha512sums=('67550a3f558fa0c075a9fb43bd59b23328d5d55d053c207a92db6a6e18cba6d2f53ca190110d2f1b00338b1e249d7021b3184f3d9f3965cba0160211a64beb26')
 
 build() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd Date-Manip-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
-  # install module in vendor directories.
-  perl Build.PL installdirs=vendor destdir="${pkgdir}"
-  perl Build
+check() {
+  cd Date-Manip-${pkgver}
+  make test
 }
 
 package() {
-  cd "${srcdir}/${_realname}-${pkgver}"
-  perl Build install
+  cd Date-Manip-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12