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

Justin Davis juster at archlinux.org
Sat Jan 21 00:13:21 UTC 2012


    Date: Friday, January 20, 2012 @ 19:13:20
  Author: juster
Revision: 147030

Bug in generator caused missing dependencies.

See: https://bugs.archlinux.org/task/27998

Modified:
  perl-libwww/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-20 22:37:53 UTC (rev 147029)
+++ PKGBUILD	2012-01-21 00:13:20 UTC (rev 147030)
@@ -8,8 +8,11 @@
 arch=(any)
 license=(PerlArtistic GPL)
 options=(!emptydirs)
-depends=('perl>=5.8.8' 'perl-encode>=2.12' 'perl-encode-locale'
-         'perl-html-parser' 'perl-libnet' 'perl-mime-base64>=2.1' 'perl-uri')
+depends=('perl>=5.8.8' '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')
 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")
@@ -17,8 +20,9 @@
 sha512sums=(1be85a3129724aee25bed7e3b80ccf66488fc9e50f095426635e8d2aaa80e29ee6a18e034d715320b9ea6f2f619c7821b3326c85426749a48a1187467acc9076)
 _distdir="${srcdir}/libwww-perl-${pkgver}"
 
-build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+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'" \
@@ -27,15 +31,14 @@
     cd "$_distdir"
     /usr/bin/perl Makefile.PL
     make
-  )
-}
+)
 
-check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+check()
+(
+    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
     cd "$_distdir"
     make test
-  )
-}
+)
 
 package() {
     cd "$_distdir"




More information about the arch-commits mailing list