71b11fdbdb
$make_check_pre can be used for wrapper commands like xvfb-run or dbus-run-session which are common ways to make tests work. This way many templates can avoid defining their own do_check function.
16 lines
292 B
Bash
16 lines
292 B
Bash
#
|
|
# This helper is for Raku package templates.
|
|
#
|
|
|
|
do_check() {
|
|
${make_check_pre} RAKULIB=lib prove -r -e raku t/
|
|
}
|
|
|
|
do_install() {
|
|
export RAKUDO_LOG_PRECOMP=1
|
|
export RAKUDO_RERESOLVE_DEPENDENCIES=0
|
|
raku-install-dist \
|
|
--to=${DESTDIR}/usr/lib/raku/vendor \
|
|
--for=vendor \
|
|
--from=.
|
|
}
|