build_style=perl6-dist: add

This commit is contained in:
Andy Weidenbaum 2018-10-30 23:17:42 -05:00 committed by maxice8
parent a94f2467a6
commit afdfdf9991
3 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#
# This helper is for Rakudo Perl 6 package templates.
#
do_check() {
PERL6LIB=lib prove -r -e perl6 t/
}
do_install() {
export RAKUDO_LOG_PRECOMP=1
export RAKUDO_RERESOLVE_DEPENDENCIES=0
perl6-install-dist \
--to=${DESTDIR}/usr/share/perl6/vendor \
--for=vendor \
--from=.
}