[arch-commits] Commit in perl-libwww/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Wed May 1 21:40:38 UTC 2013


    Date: Wednesday, May 1, 2013 @ 23:40:37
  Author: eric
Revision: 184030

upgpkg: perl-libwww 6.05-1

Upstream update, Add HEAD, POST and GET utilities (close FS#17870), PKGBUILD clean up

Modified:
  perl-libwww/trunk/PKGBUILD

----------+
 PKGBUILD |   57 ++++++++++++++++++++-------------------------------------
 1 file changed, 20 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-01 14:46:54 UTC (rev 184029)
+++ PKGBUILD	2013-05-01 21:40:37 UTC (rev 184030)
@@ -1,52 +1,35 @@
-# Packager: Justin "juster" Davis <jrcd83 at gmail.com>
 # $Id$
+# Maintainer:
 
 pkgname=perl-libwww
-pkgver=6.04
+pkgver=6.05
 pkgrel=1
 pkgdesc="The World-Wide Web library for Perl"
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=('perl>=5.8.1' 'perl-encode-locale' 'perl-file-listing>=6'
-         'perl-html-parser' 'perl-http-cookies>=6' 'perl-http-daemon>=6'
-         'perl-http-date>=6' 'perl-http-negotiate>=6' 'perl-lwp-mediatypes>=6'
-         'perl-net-http>=6' 'perl-uri>=1.10' 'perl-www-robotrules>=6'
-         'perl-http-message>=6')
+arch=('any')
+url="https://metacpan.org/release/libwww-perl"
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-encode-locale' 'perl-file-listing'
+         'perl-html-parser' 'perl-http-cookies' 'perl-http-daemon'
+         'perl-http-date' 'perl-http-negotiate' 'perl-lwp-mediatypes'
+         'perl-net-http' 'perl-uri' 'perl-www-robotrules'
+         'perl-http-message')
 optdepends=('perl-lwp-protocol-https: for https:// url schemes')
-url=https://metacpan.org/release/libwww-perl
 source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${pkgver}.tar.gz")
-md5sums=(24acf2fe33b2295f048f8859e9665ee3)
-sha512sums=(9ea578e6da99e4002a35ae82d1ee025caf15b3bc7e40fbe71abd7e8592036f16bd0268453dfeedc2c445d957c45ec473b1ed4a1738b644d475d65f7cbdb6927b)
-_distdir="${srcdir}/libwww-perl-${pkgver}"
+sha1sums=('e10b097a4a2f04efcb3549b6543e16534b46064d')
 
-build()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor"     \
-      PERL_MB_OPT="--installdirs vendor" \
-      MODULEBUILDRC=/dev/null
-
-    cd "$_distdir"
-    /usr/bin/perl Makefile.PL
+build() {
+    cd libwww-perl-${pkgver}
+    perl Makefile.PL --aliases INSTALLDIRS=vendor
     make
-)
+}
 
-check()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+check()  {
+    cd libwww-perl-${pkgver}
     make test
-)
+}
 
 package() {
-    cd "$_distdir"
+    cd libwww-perl-${pkgver}
     make DESTDIR="$pkgdir" install
 }
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list