[arch-commits] Commit in (4 files)

Justin Davis juster at archlinux.org
Sun Aug 21 15:27:29 UTC 2011


    Date: Sunday, August 21, 2011 @ 11:27:29
  Author: juster
Revision: 136017

Adds perl-mozilla-ca package.

A dependency of perl-lwp-protocol-https.

Added:
  perl-mozilla-ca/
  perl-mozilla-ca/repos/
  perl-mozilla-ca/trunk/
  perl-mozilla-ca/trunk/PKGBUILD

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

Added: perl-mozilla-ca/trunk/PKGBUILD
===================================================================
--- perl-mozilla-ca/trunk/PKGBUILD	                        (rev 0)
+++ perl-mozilla-ca/trunk/PKGBUILD	2011-08-21 15:27:29 UTC (rev 136017)
@@ -0,0 +1,47 @@
+# 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)
+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-20110409.tar.gz)
+md5sums=(b68cbbc2a364de8e2c418b46126221d0)
+sha512sums=(73fab34743ae36737a6365aa07d486a033604a4be70216ceccf3c9dd4ade0ddc4bb14c14bf84132364a2eeaad56130a312c6c42463b077d119a1b471a779fe82)
+_distdir="$srcdir/Mozilla-CA-20110409"
+
+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