[arch-commits] Commit in perl-mozilla-ca/trunk (PKGBUILD)

Justin Davis juster at archlinux.org
Tue May 15 16:40:30 UTC 2012


    Date: Tuesday, May 15, 2012 @ 12:40:30
  Author: juster
Revision: 159100

upgpkg: perl-mozilla-ca 20120309-1

Modified:
  perl-mozilla-ca/trunk/PKGBUILD

----------+
 PKGBUILD |   44 +++++++++++++++++++++-----------------------
 1 file changed, 21 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-15 15:12:09 UTC (rev 159099)
+++ PKGBUILD	2012-05-15 16:40:30 UTC (rev 159100)
@@ -1,8 +1,8 @@
-# Packager: Justin "juster" Davis <jrcd83 at gmail.com>
+# Packager: Justin Davis (juster) <jrcd83 at gmail.com>
 # $Id$
 
 pkgname=perl-mozilla-ca
-pkgver=20120118
+pkgver=20120309
 pkgrel=1
 pkgdesc="Mozilla's CA cert bundle in PEM format"
 arch=(any)
@@ -10,36 +10,34 @@
 options=(!emptydirs)
 depends=('perl>=5.006')
 url=https://metacpan.org/release/Mozilla-CA
-source=("http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-${pkgver}.tar.gz")
-md5sums=(e1c650d25303bf3d59a6502efd002b06)
-sha512sums=(89f50f39ff6fe4eda33a659530fd3383ccc46bc05a4827bc8701557f645f7148bfbcc4bed890f1f1f903c3214dceb017e1d7e8df6c45d51e4d1f327b68b3b065)
-_distdir="${srcdir}/Mozilla-CA-${pkgver}"
+source=("http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-$pkgver.tar.gz")
+md5sums=(f7fba6902335c5e068e3a576e4dce9ef)
+sha512sums=(fd2c5844bc20d2b9a7669b9905e520c0aaaffae5deac95018e4da36647822aad4d3c711c222bf16dc62c0780cf4ef76a89d208e8bd7dce36de864f9453ea64db)
+_dir="$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
+  cd "$_dir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
 )
 
 check()
 (
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
+  cd "$_dir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
 )
 
-package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
-    find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
+package()
+(
+  cd "$_dir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
 
 # Local Variables:
 # mode: shell-script




More information about the arch-commits mailing list