From b1e875db2a75237e2eddabbb9f79c0f9e33ffcb9 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 19:44:26 +0000
Subject: perl-datetime-local: update to 1.20

---
 .../perl_modules/perl-datetime-locale/PKGBUILD     | 25 +++++++++++++---------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
index 219e9c2..8d9d966 100644
--- a/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
+++ b/abs/core/perl_modules/perl-datetime-locale/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 65785 2012-02-22 12:32:13Z spupykin $
+# $Id$
 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
 # Contributor: François Charette <firmicus ατ gmx δοτ net>
 
 pkgname=perl-datetime-locale
-pkgver=0.45
-pkgrel=2
+pkgver=1.20
+pkgrel=1
 pkgdesc="Localization support for DateTime.pm "
 arch=(any)
 url="http://search.cpan.org/dist/DateTime-Locale"
 license=('GPL' 'PerlArtistic')
-depends=('perl-params-validate' 'perl-list-moreutils')
+depends=('perl-params-validate' 'perl-list-moreutils'
+	 'perl-file-sharedir' 'perl-file-sharedir-install')
 options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz)
-md5sums=('8ba6a4b70f8fa7d987529c2e2c708862')
+source=(https://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz)
+sha256sums=('998f034234441932c82a4598fa49a14f346d6e981d1d2d91a179913a9f81b898')
 
 build() {
-  cd  $srcdir/DateTime-Locale-$pkgver
+  cd  "$srcdir"/DateTime-Locale-$pkgver
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
-  make install DESTDIR=$pkgdir
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+  cd  "$srcdir"/DateTime-Locale-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
 }
-- 
cgit v0.12