apkbuild-cpan: separate './Build test' to check step

This commit is contained in:
Timo Teräs 2017-07-11 15:04:36 +03:00
parent 37cbcc6d99
commit 91de00773f

View File

@ -194,7 +194,7 @@ EOF
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build && ./Build test
./Build
}
EOF
$package_func = <<'EOF';
@ -203,6 +203,12 @@ package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
EOF
$check_func = <<'EOF';
check() {
cd "$builddir"
./Build test
}
EOF
} else {
$prepare_func = <<'EOF';