diff options
Diffstat (limited to 'lib/templ/perl-pkg')
-rwxr-xr-x | lib/templ/perl-pkg | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/templ/perl-pkg b/lib/templ/perl-pkg index ef112cd..47cc682 100755 --- a/lib/templ/perl-pkg +++ b/lib/templ/perl-pkg @@ -17,8 +17,9 @@ my %ACTIONS_OF = my %FUNCFMTS; $FUNCFMTS{'build'} = <<'END_FMT'; -build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ +build() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ @@ -26,17 +27,16 @@ build() { cd "$_distdir" %s - ) -} +) END_FMT $FUNCFMTS{'check'} = <<'END_FMT'; -check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" cd "$_distdir" %s - ) -} +) END_FMT $FUNCFMTS{'package'} = <<'END_FMT'; |