From cdf5dff0d425a9c435accb6142d554c5da4a2144 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 20:28:26 +0000
Subject: perl-datetime-format-w3cdtf: update to .07

---
 .../perl-datetime-format-w3cdtf/PKGBUILD           | 31 +++++++++++++---------
 1 file changed, 18 insertions(+), 13 deletions(-)

diff --git a/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD b/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD
index 80a5f9b..105312c 100644
--- a/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD
+++ b/abs/core/perl_modules/perl-datetime-format-w3cdtf/PKGBUILD
@@ -1,23 +1,28 @@
-# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
 # Contributor: François Charette <firmicus ατ gmx δοτ net>
 
 pkgname=perl-datetime-format-w3cdtf
-pkgver=0.04
-pkgrel=3
+pkgver=0.07
+pkgrel=2
 pkgdesc="Parse and format W3CDTF datetime strings"
-arch=('i686' 'x86_64')
-url="http://search.cpan.org/~KELLAN/DateTime-Format-W3CDTF"
+arch=('any')
+url="http://search.cpan.org/dist/DateTime-Format-W3CDTF"
 license=('GPL' 'PerlArtistic')
 depends=('perl>=5.10.0' 'perl-datetime')
 options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/K/KE/KELLAN/DateTime-Format-W3CDTF-$pkgver.tar.gz) 
-md5sums=('5ad0a41bb5de08f9c16395ea311bb491')
+source=(http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz)
+sha256sums=('69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268')
 
 build() {
-  cd  $startdir/src/DateTime-Format-W3CDTF-$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
+  cd  "$srcdir"/DateTime-Format-W3CDTF-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/DateTime-Format-W3CDTF-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
 }
-- 
cgit v0.12