2019-08-31 10:40:00 +00:00
|
|
|
# Description: Execute code after a scope finished compilation
|
|
|
|
# URL: https://metacpan.org/pod/B::Hooks::EndOfScope
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2024-02-28 06:46:43 +01:00
|
|
|
# Depends on: p5-module-implementation p5-sub-exporter p5-sub-exporter-progressive p5-variable-magic
|
2019-08-31 10:40:00 +00:00
|
|
|
|
|
|
|
name=p5-b-hooks-endofscope
|
2024-03-01 19:36:36 +01:00
|
|
|
version=0.28
|
2019-08-31 10:40:00 +00:00
|
|
|
release=1
|
|
|
|
source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd B-Hooks-EndOfScope-$version
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
|
|
|
find $PKG -name .packlist -o \
|
|
|
|
-name perllocal.pod -o \
|
|
|
|
-name README -o \
|
|
|
|
-name '*.bs' | xargs rm
|
|
|
|
}
|