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

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


    Date: Thursday, October 6, 2011 @ 12:01:37
  Author: bluewind
Revision: 140103

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

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

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

Copied: perl-www-robotrules/repos/extra-any/PKGBUILD (from rev 140090, perl-www-robotrules/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-06 16:01:37 UTC (rev 140103)
@@ -0,0 +1,52 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+# $Id$
+
+pkgname=perl-www-robotrules
+pkgver=6.01
+pkgrel=1
+pkgdesc="database of robots.txt-derived permissions"
+arch=(any)
+license=(PerlArtistic GPL)
+options=('!emptydirs')
+depends=('perl>=5.8.8' 'perl-uri>=1.10')
+makedepends=()
+checkdepends=()
+conflicts=('perl-libwww<6')
+url=http://search.cpan.org/dist/WWW-RobotRules
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-6.01.tar.gz)
+md5sums=(b1252da49727320a1b5e20b3521d2499)
+sha512sums=(41f7669cbb284b29ffba7f99b65bfe1b5605e7fe135d7d165e7c2ac017e02c7ff570115733fcab12a83e1497607067447541cba982277ee9afcae4a8e071e051)
+_distdir="${srcdir}/WWW-RobotRules-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