Date: Sunday, May 25, 2014 @ 15:28:13 Author: bpiotrowski Revision: 111834
archrelease: copy trunk to community-any Added: perl-exception-class/repos/community-any/ perl-exception-class/repos/community-any/PKGBUILD (from rev 111833, perl-exception-class/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: perl-exception-class/repos/community-any/PKGBUILD (from rev 111833, perl-exception-class/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2014-05-25 13:28:13 UTC (rev 111834) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: +# Contributor: Maxwell Pray a.k.a. Synthead <synth...@gmail.com> +# Contributor: Caleb Cushing <xenoterrac...@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 +}