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

Felix Yan fyan at archlinux.org
Mon Jan 4 01:56:33 UTC 2016


    Date: Monday, January 4, 2016 @ 02:56:33
  Author: fyan
Revision: 257487

upgpkg: perl-mozilla-ca 20160104-1

Modified:
  perl-mozilla-ca/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-03 21:35:26 UTC (rev 257486)
+++ PKGBUILD	2016-01-04 01:56:33 UTC (rev 257487)
@@ -3,39 +3,31 @@
 # Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
 
 pkgname=perl-mozilla-ca
-pkgver=20150826
+pkgver=20160104
 pkgrel=1
 pkgdesc="Mozilla's CA cert bundle in PEM format"
-arch=(any)
-license=(GPL2 LGPL2.1)
-options=(!emptydirs)
+arch=('any')
+license=('GPL2' 'LGPL2.1')
+options=('!emptydirs')
 depends=('perl')
-url=https://metacpan.org/release/Mozilla-CA
+url='https://metacpan.org/release/Mozilla-CA'
 source=("http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-$pkgver.tar.gz")
-md5sums=('52de059194004192345687f7a2f88224')
+md5sums=('1b91edb15953a8188f011ab5ff433300')
 
 build() (
   cd Mozilla-CA-$pkgver
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+  perl Makefile.PL INSTALLDIRS=vendor
   make
 )
 
 check() (
   cd Mozilla-CA-$pkgver
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
   make test
 )
 
 package() (
   cd Mozilla-CA-$pkgver
-  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  make install DESTDIR="$pkgdir"
 )
 
-# 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