From ce2af3c648501816407dba3dec3b09ba8f11ae91 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 21:01:05 +0000
Subject: perl-list-compare: update tp 0.53

---
 abs/core/perl_modules/perl-list-compare/PKGBUILD | 43 ++++++++++++++----------
 1 file changed, 25 insertions(+), 18 deletions(-)

diff --git a/abs/core/perl_modules/perl-list-compare/PKGBUILD b/abs/core/perl_modules/perl-list-compare/PKGBUILD
index 7480b98..66d3162 100644
--- a/abs/core/perl_modules/perl-list-compare/PKGBUILD
+++ b/abs/core/perl_modules/perl-list-compare/PKGBUILD
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Cecil H. Watson <knoppmyth@gmail.com>
+# Maintainer: Simon Perry <aur [at] sanxion [dot] net>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
 
 pkgname=perl-list-compare
-_realname=List-Compare
-pkgver=0.37
+_pkgname=List-Compare
+pkgver=0.53
 pkgrel=2
-pkgdesc="List::Compare - Compare elements of two or more lists"
-arch=(i686 x86_64)
-license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perlxml' 'perl>=5.10.0')
-groups=('shepherd-dep')
+pkgdesc="Compare elements of two or more lists"
+arch=('any')
+url="http://search.cpan.org/~JKEENAN/List-Compare/"
+license=('GPL' 'PerlArtistic')
+makedepends=('perl-io-captureoutput')
+depends=('perl')
 options=('!emptydirs')
-source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JK/JKEENAN/${_realname}-${pkgver}.tar.gz)
-md5sums=('7c730dd58cc31a5bbb8eb7006edd1704')
+source=(http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/${_pkgname}-$pkgver.tar.gz) 
+sha256sums=('fdbf4ff67b3135d44475fef7fcac0cd4706407d5720d26dca914860eb10f8550')
 
 build() {
-  cd ${startdir}/src/${_realname}-${pkgver}
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+  cd $srcdir/${_pkgname}-$pkgver
 
-  find ${startdir}/pkg -name '.packlist' -delete
-  find ${startdir}/pkg -name 'perllocal.pod' -delete
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
+
+package() {
+  cd $srcdir/${_pkgname}-$pkgver
+
+  make DESTDIR=${pkgdir} install
+
+  find $pkgdir -name perllocal.pod -delete
+  find $pkgdir -name .packlist -delete
+}
+
-- 
cgit v0.12

