blob: f53881e00dae619498c6801075e6e274405094d1 (
plain)
1 # Description: Associate user-defined magic to variables from Perl.
2 # URL: https://metacpan.org/pod/Variable::Magic
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-variable-magic
7 version=0.62
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-$version.tar.gz)
10
11 build() {
12 cd Variable-Magic-$version
13 export \
14 PERL_MM_USE_DEFAULT="1" \
15 PERL_AUTOINSTALL="--skipdeps" \
16 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${PKG//\'/\\\'}'" \
17 PERL_MB_OPT="--installdirs vendor --destdir '${PKG//\'/\\\'}'" \
18 MODULEBUILDRC="/dev/null"
19 perl Makefile.PL
20 make
21 make install
22 find $PKG -name .packlist -o \
23 -name perllocal.pod -o \
24 -name README -o \
25 -name '*.bs' | xargs rm
26 }
|