[arch-commits] Commit in perl-libwww/repos (3 files)

Florian Pritz bluewind at archlinux.org
Thu Oct 6 16:01:31 UTC 2011


    Date: Thursday, October 6, 2011 @ 12:01:31
  Author: bluewind
Revision: 140098

db-move: moved perl-libwww from [testing] to [extra] (any)

Added:
  perl-libwww/repos/extra-any/PKGBUILD
    (from rev 140090, perl-libwww/repos/testing-any/PKGBUILD)
Deleted:
  perl-libwww/repos/extra-any/PKGBUILD
  perl-libwww/repos/testing-any/

----------+
 PKGBUILD |  144 ++++++++++++++++++++++---------------------------------------
 1 file changed, 54 insertions(+), 90 deletions(-)

Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD	2011-10-06 16:01:29 UTC (rev 140097)
+++ extra-any/PKGBUILD	2011-10-06 16:01:31 UTC (rev 140098)
@@ -1,90 +0,0 @@
-# $Id$
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Manolis Tzanidakis
-
-pkgname=perl-libwww
-_realname=libwww-perl
-pkgver=5.837
-pkgrel=1
-pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW"
-arch=('any')
-license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-uri' 'perl-html-parser')
-optdepends=('perl-crypt-ssleay: for SSL/TLS support')
-options=('!emptydirs')
-replaces=('libwww-perl')
-provides=(
-'perl-bundle-lwp'
-'perl-file-listing=5.814'
-'perl-html-form=5.829'
-'perl-http-config=5.835'
-'perl-http-cookies=5.833'
-'perl-http-cookies-microsoft'
-'perl-http-cookies-netscape=5.832'
-'perl-http-daemon=5.827'
-'perl-http-date=5.831'
-'perl-http-headers=5.835'
-'perl-http-headers-auth=5.817'
-'perl-http-headers-etag=5.810'
-'perl-http-headers-util=5.817'
-'perl-http-message=5.835'
-'perl-http-negotiate=5.835'
-'perl-http-request=5.827'
-'perl-http-request-common=5.824'
-'perl-http-response=5.836'
-'perl-http-status=5.817'
-'perl-lwp=5.836'
-'perl-lwp-authen-basic'
-'perl-lwp-authen-digest'
-'perl-lwp-authen-ntlm'
-'perl-lwp-conncache=5.810'
-'perl-lwp-debug'
-'perl-lwp-debugfile'
-'perl-lwp-mediatypes=5.835'
-'perl-lwp-membermixin'
-'perl-lwp-protocol=5.829'
-'perl-lwp-protocol-cpan'
-'perl-lwp-protocol-data'
-'perl-lwp-protocol-file'
-'perl-lwp-protocol-ftp'
-'perl-lwp-protocol-ghttp'
-'perl-lwp-protocol-gopher'
-'perl-lwp-protocol-http'
-'perl-lwp-protocol-http10'
-'perl-lwp-protocol-https'
-'perl-lwp-protocol-https10'
-'perl-lwp-protocol-loopback'
-'perl-lwp-protocol-mailto'
-'perl-lwp-protocol-nntp'
-'perl-lwp-protocol-nogo'
-'perl-lwp-robotua=5.835'
-'perl-lwp-simple=5.835'
-'perl-lwp-useragent=5.835'
-'perl-net-http=5.834'
-'perl-net-http-methods=5.834'
-'perl-net-http-nb=5.810'
-'perl-net-https=5.819'
-'perl-www-robotrules=5.832'
-'perl-www-robotrules-anydbm_file=5.835'
-)
-source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
-md5sums=('9bbf1bce482b0bac98bb4f04253c03d0')
-
-build() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  # install module in vendor directories.
-  perl Makefile.PL --aliases INSTALLDIRS=vendor
-  make
-}
-
-check() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  make test
-}
-
-package() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  make install DESTDIR=${pkgdir}
-}

Copied: perl-libwww/repos/extra-any/PKGBUILD (from rev 140090, perl-libwww/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-06 16:01:31 UTC (rev 140098)
@@ -0,0 +1,54 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+# $Id$
+
+pkgname=perl-libwww
+pkgver=6.02
+pkgrel=2
+pkgdesc="The World-Wide Web library for Perl"
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+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-message' 'perl-http-negotiate>=6'
+         'perl-lwp-mediatypes>=6' 'perl-net-http>=6' 'perl-uri>=1.10'
+         'perl-www-robotrules>=6')
+optdepends=('perl-lwp-protocol-https: for https:// url schemes')
+url=http://search.cpan.org/dist/libwww-perl
+source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${pkgver}.tar.gz")
+md5sums=(4617dbc79a78992a8c8db263c170d8ec)
+sha512sums=(a5b081f5dcb63010eff583c77b4e57f417ee842ad6e1327cd2df22443238eef795348a4298b3fbc7676240d46ff9a70d68ab2465469579c6a7bef08556aab70c)
+_distdir="${srcdir}/libwww-perl-${pkgver}"
+
+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
+  )
+}
+
+check() {
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    cd "$_distdir"
+    make test
+  )
+}
+
+package() {
+    cd "$_distdir"
+    make DESTDIR="$pkgdir" install
+    find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# 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