[arch-commits] Commit in perl-module-pluggable/repos (2 files)

Florian Pritz bluewind at nymeria.archlinux.org
Tue Jun 3 09:39:06 UTC 2014


    Date: Tuesday, June 3, 2014 @ 11:39:06
  Author: bluewind
Revision: 112528

archrelease: copy trunk to community-any

Added:
  perl-module-pluggable/repos/community-any/
  perl-module-pluggable/repos/community-any/PKGBUILD
    (from rev 112527, perl-module-pluggable/trunk/PKGBUILD)

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

Copied: perl-module-pluggable/repos/community-any/PKGBUILD (from rev 112527, perl-module-pluggable/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-06-03 09:39:06 UTC (rev 112528)
@@ -0,0 +1,47 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-module-pluggable
+pkgver=5.1
+pkgrel=1
+pkgdesc='automatically give your module the ability to have plugins'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+url=https://metacpan.org/release/Module-Pluggable
+source=("http://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/Module-Pluggable-$pkgver.tar.gz")
+md5sums=(1b71ed7a67ad8c048d1499540bc892ba)
+sha512sums=(2ed43516ff18f50ac494f6365296f42e7dfc6704a2b01d3661ca00c295ee378184757cb03381400fba8bc5f2df06241f2ee9ecf930af4d498b042c68069a670b)
+_ddir="Module-Pluggable-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  unset PERL5LIB PERL_MB_OPT
+  /usr/bin/perl Build.PL
+  ./Build
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  unset PERL5LIB PERL_MB_OPT
+  ./Build test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  unset PERL5LIB PERL_MB_OPT
+  ./Build install installdirs=vendor destdir="$pkgdir"
+  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