22 lines
641 B
Plaintext
22 lines
641 B
Plaintext
# Description: Lexically disable autovivification
|
|
# URL: https://metacpan.org/pod/autovivification
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=p5-autovivification
|
|
version=0.18
|
|
release=1
|
|
source=(https://www.cpan.org/authors/id/V/VP/VPIT/autovivification-$version.tar.gz)
|
|
|
|
build() {
|
|
cd autovivification-$version
|
|
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
perl Makefile.PL
|
|
make install INSTALLDIRS=vendor DESTDIR="$PKG"
|
|
find $PKG -name .packlist -o \
|
|
-name perllocal.pod -o \
|
|
-name README -o \
|
|
-name '*.bs' | xargs rm
|
|
}
|