2019-08-31 10:40:08 +00:00
|
|
|
# Description: A module that allows you to declare real exception classes in Perl
|
|
|
|
# URL: https://metacpan.org/release/Exception-Class
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: p5-class-data-inheritable p5-devel-stacktrace
|
|
|
|
|
|
|
|
name=p5-exception-class
|
2021-05-02 21:32:33 +00:00
|
|
|
version=1.45
|
2019-08-31 10:40:08 +00:00
|
|
|
release=1
|
|
|
|
source=(https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Exception-Class-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Exception-Class-$version
|
|
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
|
|
unset PERL5LIB PERL_MM_OPT
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
make install INSTALLDIRS=vendor DESTDIR=$PKG
|
|
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
|
|
}
|