[arch-commits] Commit in perl-devel-checkcompiler/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Tue Jun 30 13:49:40 UTC 2015


    Date: Tuesday, June 30, 2015 @ 15:49:39
  Author: fyan
Revision: 136156

upgpkg: perl-devel-checkcompiler 0.06-1

Modified:
  perl-devel-checkcompiler/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++----------------------
 1 file changed, 7 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-30 12:06:31 UTC (rev 136155)
+++ PKGBUILD	2015-06-30 13:49:39 UTC (rev 136156)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
 # Generator  : CPANPLUS::Dist::Arch 1.28
 
 pkgname=perl-devel-checkcompiler
-pkgver=0.05
+pkgver=0.06
 pkgrel=1
 pkgdesc="Check the compiler's availability"
 arch=('any')
@@ -19,34 +19,19 @@
 _distdir="Devel-CheckCompiler-0.05"
 
 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 "$srcdir/$_distdir"
-    /usr/bin/perl Build.PL
-    /usr/bin/perl Build
-  )
+  cd "$srcdir/$_distdir"
+  perl Build.PL installdirs=vendor
+  perl Build
 }
 
 check() {
   cd "$srcdir/$_distdir"
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    /usr/bin/perl Build test
-  )
+  perl Build test
 }
 
 package() {
   cd "$srcdir/$_distdir"
-  /usr/bin/perl Build install
-
-  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+  perl Build 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