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

Florian Pritz bluewind at archlinux.org
Thu Oct 6 12:01:37 EDT 2011


    Date: Thursday, October 6, 2011 @ 12:01:36
  Author: bluewind
Revision: 140102

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

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

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

Copied: perl-net-http/repos/extra-any/PKGBUILD (from rev 140090, perl-net-http/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-06 16:01:36 UTC (rev 140102)
@@ -0,0 +1,52 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+# $Id$
+
+pkgname=perl-net-http
+pkgver=6.01
+pkgrel=1
+pkgdesc="Low-level HTTP connection (client)"
+arch=(any)
+license=(PerlArtistic GPL)
+options=('!emptydirs')
+depends=('perl>=5.8.8')
+makedepends=()
+checkdepends=()
+conflicts=('perl-libwww<6')
+url=http://search.cpan.org/dist/Net-HTTP
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Net-HTTP-6.01.tar.gz)
+md5sums=(d7ae2675fca351147adcd26f840b6993)
+sha512sums=(f45675322617433a5573d25398d32712d5064108e3bbe2134d1657d4c0f49caa75c197e93fc1b908930e9e61877624031c6047d11d6d1baaacd5e8fc270facf9)
+_distdir="${srcdir}/Net-HTTP-6.01"
+
+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