blob: 879b0217ecdd7f9feb7badd4b89cf4c7f5375b9c (
plain)
1 # Description: Execute code after a scope finished compilation
2 # URL: https://metacpan.org/pod/B::Hooks::EndOfScope
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-module-implementation p5-module-runtime p5-sub-exporter p5-sub-exporter-progressive p5-try-tiny p5-variable-magic
5
6 name=p5-b-hooks-endofscope
7 version=0.26
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$version.tar.gz)
10
11 build() {
12 cd B-Hooks-EndOfScope-$version
13 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
14 make
15 make install DESTDIR=$PKG
16 find $PKG -name .packlist -o \
17 -name perllocal.pod -o \
18 -name README -o \
19 -name '*.bs' | xargs rm
20 }
|