Commit 91de0077 authored by Timo Teräs's avatar Timo Teräs

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

parent 37cbcc6d
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment