From f92b5971e72a958b3e3e2ce533510f14da1b55ff Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 20:37:55 +0000
Subject: perl-encode-locale: update to 1.05

---
 abs/core/perl_modules/perl-encode-locale/PKGBUILD | 56 +++++++----------------
 1 file changed, 17 insertions(+), 39 deletions(-)

diff --git a/abs/core/perl_modules/perl-encode-locale/PKGBUILD b/abs/core/perl_modules/perl-encode-locale/PKGBUILD
index 05b129b..20d151e 100644
--- a/abs/core/perl_modules/perl-encode-locale/PKGBUILD
+++ b/abs/core/perl_modules/perl-encode-locale/PKGBUILD
@@ -1,52 +1,30 @@
-# Maintainer : Justin "juster" Davis <jrcd83@gmail.com>
-# Generator  : pbjam 0.01
-# $Id: PKGBUILD 150524 2012-02-18 12:06:36Z allan $
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=perl-encode-locale
-pkgver=1.03
-pkgrel=1
+pkgver=1.05
+pkgrel=3
 pkgdesc="Determine the locale encoding"
-arch=(any)
-license=(PerlArtistic GPL)
+arch=('any')
+url="http://search.cpan.org/dist/Encode-Locale"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
 options=('!emptydirs')
-depends=('perl>=5.008')
-makedepends=()
-checkdepends=()
-conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/Encode-Locale
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-1.02.tar.gz)
-md5sums=('96a950ee9b57e47e2b990b4c5dd7bf6e')
-sha512sums=('7263de267486c835f37dd51da573c5002921a8365124e03eeed1e7a97bac368fff42351d6d31e05d3e596f3486ca5506d985f3992652908948006701d21663cf')
-_distdir="${srcdir}/Encode-Locale-1.02"
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
+sha1sums=('1e1632e869cb76e3fdbda0a83a192190ed178d60')
 
 build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
-      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
-      MODULEBUILDRC=/dev/null
-
-    cd "$_distdir"
-    /usr/bin/perl Makefile.PL
-    make
-  )
+  cd Encode-Locale-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
 
 check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
-  )
+  cd Encode-Locale-$pkgver
+  make test
 }
 
 package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
-    find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+  cd Encode-Locale-$pkgver
+  make DESTDIR="$pkgdir" install
 }
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
-- 
cgit v0.12

