CPANPLUS-Dist-Arch
view release on metacpan or search on metacpan
script/cpan2aur view on Meta::CPAN
my %info = get_pkgbuild_info( $pkgbuild );
error( <<'END_ERROR' ) unless ( $info{dist_name} );
$pkg_dir/PKGBUILD does not seem to be made by cpan2aur.
We are unable to extract the CPAN distribution name from it.
END_ERROR
return %info;
}
sub update_if_old
{
my ($thing) = @_;
status "Checking if $thing is up to date...";
my $type = ( -f $thing ? 'file' : -d $thing ? 'dir' : undef );
unless ( $type ) {
error( <<"END_ERROR" );
$thing does not seem to be a source package file or directory!
END_ERROR
( run in 1.043 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )