From 1bd9e975bfe6e69b79cb4bfb57d9d1df27e73a76 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 May 2018 20:49:56 +0000
Subject: perl-http-message: update to 6.16

---
 abs/core/perl_modules/perl-http-message/PKGBUILD | 55 +++++++++---------------
 1 file changed, 20 insertions(+), 35 deletions(-)

diff --git a/abs/core/perl_modules/perl-http-message/PKGBUILD b/abs/core/perl_modules/perl-http-message/PKGBUILD
index a743973..2378918 100644
--- a/abs/core/perl_modules/perl-http-message/PKGBUILD
+++ b/abs/core/perl_modules/perl-http-message/PKGBUILD
@@ -1,52 +1,37 @@
-# Maintainer : Justin "juster" Davis <jrcd83@gmail.com>
-# Generator  : pbjam 0.01
-# $Id: PKGBUILD 150641 2012-02-19 01:25:44Z allan $
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83@gmail.com>
+# Generator : pbjam 0.01
 
 pkgname=perl-http-message
-pkgver=6.03
+pkgver=6.16
 pkgrel=1
 pkgdesc="HTTP style messages"
-arch=(any)
-license=(PerlArtistic GPL)
+arch=('any')
+url='http://search.cpan.org/dist/HTTP-Message'
+license=('PerlArtistic' 'GPL')
 options=('!emptydirs')
-depends=('perl>=5.8.8' 'perl-encode-locale>=1' 'perl-html-parser>=3.33'
-	 'perl-http-date>=6' 'perl-lwp-mediatypes>=6' 'perl-uri>=1.10')
-makedepends=()
-checkdepends=()
+depends=('perl' 'perl-encode-locale' 'perl-http-date' 'perl-lwp-mediatypes' 'perl-uri'
+         'perl-io-html')
+makedepends=('perl-try-tiny')
 conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/HTTP-Message
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Message-6.02.tar.gz)
-md5sums=('a6b28e44f7b5e5573362f042d522a456')
-sha512sums=('1091346307bf063ea6a65ddc8811da368d6080a11776fa5c4dc9df6beb9c8bc8cbe512fd711d44c43d4bd90a65c7195a1d3d5ed10257ef1e17d2145971d89c3c')
-_distdir="${srcdir}/HTTP-Message-6.02"
+source=("http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Message-$pkgver.tar.gz")
+sha512sums=('9dae693623fa81a0d62ec66fa59b71f5cdbdae6b3146617632b4de0dfa2bbe9eb0a51cf0e98e1ababd85aad97510b469da64ec2254d09bb89461412099344128')
 
 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 HTTP-Message-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
 
 check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
-  )
+  cd HTTP-Message-$pkgver
+  make test
 }
 
 package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
+  cd HTTP-Message-$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

