blob: 035596bc694678150749f61181ea1a21c3a79fdd (
plain)
1 # Description: mro::* interface compatibility for Perls < 5.9.5
2 # URL: https://metacpan.org/pod/MRO::Compat
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-mro-compat
7 version=0.13
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/H/HA/HAARG/MRO-Compat-$version.tar.gz)
10
11 build() {
12 cd MRO-Compat-$version
13 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
14 PERL_AUTOINSTALL=--skipdeps \
15 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$PKG"'" \
16 PERL_MB_OPT="--installdirs vendor --destdir '"$PKG"'" \
17 PERL_USE_UNSAFE_INC=1 \
18 MODULEBUILDRC=/dev/null
19 perl Makefile.PL
20 make
21 make install
22 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
23 }
|