[arch-commits] Commit in perl-module-pluggable/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Aug 6 02:20:41 UTC 2015


    Date: Thursday, August 6, 2015 @ 04:20:41
  Author: fyan
Revision: 137997

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-06 02:20:19 UTC (rev 137996)
+++ PKGBUILD	2015-08-06 02:20:41 UTC (rev 137997)
@@ -1,47 +0,0 @@
-# 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:

Copied: perl-module-pluggable/repos/community-any/PKGBUILD (from rev 137996, perl-module-pluggable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-08-06 02:20:41 UTC (rev 137997)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-module-pluggable
+pkgver=5.2
+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=('87ce2971662efd0b69a81bb4dc9ea76c')
+sha512sums=('7df8ee6713c8e0d4df756736c43c2033632cb8887c82ed5b9f38476dbf402b5daa3af83d3b2bd1228afb020ce5855831812f86299b63518e04e0929390b0c5f5')
+_ddir="Module-Pluggable-$pkgver"
+
+build() {
+  cd "$srcdir/$_ddir"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list