[arch-commits] Commit in perl-module-pluggable/trunk (PKGBUILD)

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


    Date: Thursday, August 6, 2015 @ 04:20:19
  Author: fyan
Revision: 137996

upgpkg: perl-module-pluggable 5.2-1

Modified:
  perl-module-pluggable/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   54 +++++++++++++++++++++---------------------------------
 1 file changed, 21 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-05 22:42:04 UTC (rev 137995)
+++ PKGBUILD	2015-08-06 02:20:19 UTC (rev 137996)
@@ -1,47 +1,35 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
 
 pkgname=perl-module-pluggable
-pkgver=5.1
+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
+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)
+md5sums=('87ce2971662efd0b69a81bb4dc9ea76c')
+sha512sums=('7df8ee6713c8e0d4df756736c43c2033632cb8887c82ed5b9f38476dbf402b5daa3af83d3b2bd1228afb020ce5855831812f86299b63518e04e0929390b0c5f5')
 _ddir="Module-Pluggable-$pkgver"
 
-build()
-(
+build() {
   cd "$srcdir/$_ddir"
-  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
-  unset PERL5LIB PERL_MB_OPT
-  /usr/bin/perl Build.PL
-  ./Build
-)
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
-check()
-(
+check() {
   cd "$srcdir/$_ddir"
-  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
-  unset PERL5LIB PERL_MB_OPT
-  ./Build test
-)
+  make test
+}
 
-package()
-(
+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
-)
+  make install DESTDIR="$pkgdir"
+}
 
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
 # vim:set ts=2 sw=2 et:


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



More information about the arch-commits mailing list