[arch-commits] Commit in perl-carp-clan/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Fri Feb 17 02:23:54 EST 2012


    Date: Friday, February 17, 2012 @ 02:23:53
  Author: allan
Revision: 150344

upgpkg: perl-carp-clan 6.04-2

signing rebuild

Modified:
  perl-carp-clan/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-17 07:19:44 UTC (rev 150343)
+++ PKGBUILD	2012-02-17 07:23:53 UTC (rev 150344)
@@ -5,7 +5,7 @@
 pkgname=perl-carp-clan
 _realname=Carp-Clan
 pkgver=6.04
-pkgrel=1
+pkgrel=2
 pkgdesc='Report errors from perspective of caller of a "clan" of modules'
 arch=(any)
 license=('PerlArtistic')
@@ -18,11 +18,11 @@
 build() {
   cd ${srcdir}/${_realname}-${pkgver}
   # install module in vendor directories.
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make install DESTDIR=${pkgdir} || return 1
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
-  # remove perllocal.pod and .packlist
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make install DESTDIR=${pkgdir}
 }



More information about the arch-commits mailing list