[arch-commits] Commit in perl-libwww/repos/extra-any (PKGBUILD PKGBUILD)

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


    Date: Wednesday, May 1, 2013 @ 23:41:04
  Author: eric
Revision: 184031

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 35 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-01 21:40:37 UTC (rev 184030)
+++ PKGBUILD	2013-05-01 21:41:04 UTC (rev 184031)
@@ -1,52 +0,0 @@
-# Packager: Justin "juster" Davis <jrcd83 at gmail.com>
-# $Id$
-
-pkgname=perl-libwww
-pkgver=6.04
-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')
-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}"
-
-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
-    make
-)
-
-check()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
-)
-
-package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
-}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:

Copied: perl-libwww/repos/extra-any/PKGBUILD (from rev 184030, perl-libwww/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-01 21:41:04 UTC (rev 184031)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer:
+
+pkgname=perl-libwww
+pkgver=6.05
+pkgrel=1
+pkgdesc="The World-Wide Web library for Perl"
+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')
+source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${pkgver}.tar.gz")
+sha1sums=('e10b097a4a2f04efcb3549b6543e16534b46064d')
+
+build() {
+    cd libwww-perl-${pkgver}
+    perl Makefile.PL --aliases INSTALLDIRS=vendor
+    make
+}
+
+check()  {
+    cd libwww-perl-${pkgver}
+    make test
+}
+
+package() {
+    cd libwww-perl-${pkgver}
+    make DESTDIR="$pkgdir" install
+}




More information about the arch-commits mailing list