[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Thu Jul 24 02:09:02 UTC 2014


    Date: Thursday, July 24, 2014 @ 04:09:02
  Author: fyan
Revision: 116276

addpkg: perl-devel-checkcompiler 0.05-1

Added:
  perl-devel-checkcompiler/
  perl-devel-checkcompiler/repos/
  perl-devel-checkcompiler/trunk/
  perl-devel-checkcompiler/trunk/PKGBUILD

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

Added: perl-devel-checkcompiler/trunk/PKGBUILD
===================================================================
--- perl-devel-checkcompiler/trunk/PKGBUILD	                        (rev 0)
+++ perl-devel-checkcompiler/trunk/PKGBUILD	2014-07-24 02:09:02 UTC (rev 116276)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# 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
+pkgrel=1
+pkgdesc="Check the compiler's availability"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-module-build')
+checkdepends=('perl-test-requires')
+url='http://search.cpan.org/dist/Devel-CheckCompiler'
+source=('http://search.cpan.org/CPAN/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-0.05.tar.gz')
+sha512sums=('5bf40abc7df914a9bbd5b185a40d597272f2f8fb0a94f95b1790ed247a529af8c31bc8ddfcae75ceab4d504ad8faf86ed63eefbc5081a208bcccf0902464d73e')
+_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
+  )
+}
+
+check() {
+  cd "$srcdir/$_distdir"
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    /usr/bin/perl Build test
+  )
+}
+
+package() {
+  cd "$srcdir/$_distdir"
+  /usr/bin/perl Build 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:


Property changes on: perl-devel-checkcompiler/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list