[arch-commits] Commit in perl-exception-class/repos/community-any (PKGBUILD PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sun May 25 13:53:57 UTC 2014


    Date: Sunday, May 25, 2014 @ 15:53:57
  Author: bpiotrowski
Revision: 111840

archrelease: copy trunk to community-any

Added:
  perl-exception-class/repos/community-any/PKGBUILD
    (from rev 111839, perl-exception-class/trunk/PKGBUILD)
Deleted:
  perl-exception-class/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 39 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-25 13:53:24 UTC (rev 111839)
+++ PKGBUILD	2014-05-25 13:53:57 UTC (rev 111840)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
-# Contributor: Caleb Cushing <xenoterracide at gmail.com>
-
-pkgname=perl-exception-class
-_cpanname="Exception-Class"
-pkgver=1.37
-pkgrel=1
-pkgdesc="A module that allows you to declare real exception classes in Perl"
-arch=('any')
-url="http://search.cpan.org/dist/$_cpanname"
-license=('PerlArtistic' 'GPL')
-depends=('perl>=5.5.0' 'perl-class-data-inheritable>=0.02' 'perl-devel-stacktrace>=1.20')
-options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_cpanname-$pkgver.tar.gz")
-md5sums=('9953d120112d971f1deafdba9dc15aa7')
-
-build() {
-	cd $_cpanname-$pkgver
-	perl Makefile.PL PERL_MM_USE_DEFAULT=1 INSTALLDIRS=vendor
-	make
-}
-
-check() {
-	cd $_cpanname-$pkgver
-	make test
-}
-
-packjjage() {
-	cd $_cpanname-$pkgver
-	make install
-	find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}

Copied: perl-exception-class/repos/community-any/PKGBUILD (from rev 111839, perl-exception-class/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-05-25 13:53:57 UTC (rev 111840)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: Caleb Cushing <xenoterracide at gmail.com>
+
+pkgname=perl-exception-class
+pkgver=1.38
+pkgrel=1
+pkgdesc='A module that allows you to declare real exception classes in Perl'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.8.1' 'perl-class-data-inheritable>=0.02'
+         'perl-devel-stacktrace>=1.20')
+url=https://metacpan.org/release/Exception-Class
+source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-$pkgver.tar.gz")
+md5sums=(4d7203a95893449f53ccacb385981569)
+_ddir=Exception-Class-$pkgver
+
+build() {
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}




More information about the arch-commits mailing list