Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A abs
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Arch LinuxArch Linux
  • abs
  • Repository
Switch branch/tag
  • abs
  • prototypes
  • PKGBUILD-perl.proto
Find file BlameHistoryPermalink
  • Jason St. John's avatar
    PKGBUILD-perl.proto: Download sources by-module instead of by-author · c853f217
    Jason St. John authored Sep 07, 2012
    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