blob: 595b23abb41bb06c56f16771666817ff645a1564 (
plain)
1 # Description: A module that allows you to declare real exception classes in Perl
2 # URL: https://metacpan.org/release/Exception-Class
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-class-data-inheritable p5-devel-stacktrace
5
6 name=p5-exception-class
7 version=1.45
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Exception-Class-$version.tar.gz)
10
11 build() {
12 cd Exception-Class-$version
13 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
14 unset PERL5LIB PERL_MM_OPT
15 perl Makefile.PL INSTALLDIRS=vendor
16 make
17 make install INSTALLDIRS=vendor DESTDIR=$PKG
18 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
19 }
|