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

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


    Date: Thursday, October 6, 2011 @ 12:01:35
  Author: bluewind
Revision: 140101

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

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

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

Copied: perl-mozilla-ca/repos/extra-any/PKGBUILD (from rev 140090, perl-mozilla-ca/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-06 16:01:35 UTC (rev 140101)
@@ -0,0 +1,48 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator  : pbjam 0.01
+
+pkgname=perl-mozilla-ca
+pkgver=20110409
+pkgrel=1
+pkgdesc="Mozilla's CA cert bundle in PEM format"
+arch=(any)
+license=(GPL2 LGPL2.1)
+options=(!emptydirs)
+depends=('perl>=5.006')
+url=http://search.cpan.org/dist/Mozilla-CA
+source=("http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-${pkgver}.tar.gz")
+md5sums=(b68cbbc2a364de8e2c418b46126221d0)
+sha512sums=(73fab34743ae36737a6365aa07d486a033604a4be70216ceccf3c9dd4ade0ddc4bb14c14bf84132364a2eeaad56130a312c6c42463b077d119a1b471a779fe82)
+_distdir="${srcdir}/Mozilla-CA-${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