From a27bc0c7dcad39d8412e922919b37fde1b653377 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 21:02:55 +0000
Subject: perl-lingua-preferred: rebuild

---
 abs/core/perl_modules/perl-lingua-preferred/PKGBUILD | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD
index fa99326..1b450ba 100644
--- a/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD
+++ b/abs/core/perl_modules/perl-lingua-preferred/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 65881 2012-02-22 13:17:22Z spupykin $
+# $Id$
 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
 # Maintainer: Allan McRae <mcrae_allan@hotmail.com>
 # Contributor: François Charette <firmicus ατ gmx δοτ net>
 
 pkgname=perl-lingua-preferred
 pkgver=0.2.4
-pkgrel=4
+pkgrel=6
 pkgdesc="Pick a language based on user's preferences"
 arch=('any')
 url="http://search.cpan.org/dist/Lingua-Preferred"
 license=('GPL' 'PerlArtistic')
 depends=('perl>=5.10.0')
 options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz)
-md5sums=('37e883fafb05b1439de1121f41e8ad75')
+source=(https://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz)
+sha256sums=('fa58c4fac6b676f78caad6b472a785dd0c8fa67004a62294fbcfa3a3eb243c83')
 
 build() {
-  cd  $srcdir/Lingua-Preferred-$pkgver
+  cd  "$srcdir"/Lingua-Preferred-$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"/Lingua-Preferred-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
 }
-- 
cgit v0.12

