blob: d1722563f81c2360a8140a271b5381e38e13f013 (
plain)
1 # Description: Lexically disable autovivification
2 # URL: https://metacpan.org/pod/autovivification
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-autovivification
7 version=0.18
8 release=1
9 source=(https://www.cpan.org/authors/id/V/VP/VPIT/autovivification-$version.tar.gz)
10
11 build() {
12 cd autovivification-$version
13 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
14 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
15 perl Makefile.PL
16 make install INSTALLDIRS=vendor DESTDIR="$PKG"
17 find $PKG -name .packlist -o \
18 -name perllocal.pod -o \
19 -name README -o \
20 -name '*.bs' | xargs rm
21 }
|