From 418cfa62b30786a2e3264973a68d47c8e3a5aa54 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 31 May 2018 16:01:29 +0000
Subject: perl-parse-recdescent: update to 1.9670

---
 .../perl_modules/perl-parse-recdescent/PKGBUILD    | 26 ++++++++++++----------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD
index ab2ae40..386339d 100644
--- a/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD
+++ b/abs/core/perl_modules/perl-parse-recdescent/PKGBUILD
@@ -1,29 +1,31 @@
-# 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-parse-recdescent
-pkgver=1.965001
+pkgver=1.967015
 pkgrel=1
 pkgdesc="Recursive descent parser generator"
 arch=(any)
 url="http://search.cpan.org/dist/Parse-RecDescent"
 license=('GPL' 'PerlArtistic')
 depends=('perl>=5.10.0')
+makedepends=('perl-module-build')
 options=('!emptydirs')
 LC_NUMERIC=C
 provides=("perl-parse-recdescent=`printf %.6f ${pkgver}`")
-source=(http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-$pkgver.tar.gz)
-md5sums=('e91351ad179a3843fbe8e521b135acaf')
+source=(http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/Parse-RecDescent-$pkgver.tar.gz)
+sha256sums=('1943336a4cb54f1788a733f0827c0c55db4310d5eae15e542639c9dd85656e37')
 
 build() {
-  cd  $srcdir/Parse-RecDescent-$pkgver
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make || return 1
+  cd  "$srcdir"/Parse-RecDescent-$pkgver
+  perl Build.PL installdirs=vendor destdir="$pkgdir/"
+  perl Build
 }
+
 package() {
-  cd  $srcdir/Parse-RecDescent-$pkgver
-  make install DESTDIR=$pkgdir || return 1
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
+  cd  "$srcdir"/Parse-RecDescent-$pkgver
+  perl Build install
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
 }
-
-- 
cgit v0.12

