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

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.673 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )