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

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


    Date: Thursday, October 6, 2011 @ 12:01:24
  Author: bluewind
Revision: 140092

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

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

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

Copied: perl-file-listing/repos/extra-any/PKGBUILD (from rev 140090, perl-file-listing/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-06 16:01:24 UTC (rev 140092)
@@ -0,0 +1,52 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+# $Id$
+
+pkgname=perl-file-listing
+pkgver=6.02
+pkgrel=1
+pkgdesc="parse directory listing"
+arch=(any)
+license=(PerlArtistic GPL)
+options=('!emptydirs')
+depends=('perl>=5.8.8' 'perl-http-date>=6')
+makedepends=()
+checkdepends=()
+conflicts=('perl-libwww<6')
+url=http://search.cpan.org/dist/File-Listing
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/File-Listing-6.02.tar.gz)
+md5sums=(57349906cdb1d2be954bc9ec44c961bf)
+sha512sums=(fc7566788eff7282c38a97241aa1b3a5895c62e18d97385125a77c20b497ccfd139e6d70436f81c40d0278218cd688e71fb2152c404fac591c11831b9c83d6d2)
+_distdir="${srcdir}/File-Listing-6.02"
+
+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