Skip to content
  • Jason St. John's avatar
    PKGBUILD-perl.proto: Download sources by-module instead of by-author · c853f217
    Jason St. John authored
    
    
    CPAN apparently changed the by-authors download URL structures because
    http://cpan.perl.org/modules/by-authors/id/$_author/ does not work
    anymore. The directory structure appears to be 'by-authors/id/<first
    letter>/<first two letters>/$_author', which significantly reduces the
    usefulness of _author in the default PKGBUILD.
    
    I changed the source array to download by-module instead of by-author to
    make things simple. The _author variable is no longer needed, and I
    added a _modnamespace variable to handle CPAN's URL format.
    
    Signed-off-by: default avatarJason St. John <jstjohn@purdue.edu>
    c853f217