Skip to content
GitLab
  • Explore
  • Sign in

Admin message

Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.

  • Arch LinuxArch Linux
  • abs
  • Repository
  • abs
  • prototypes
  • PKGBUILD-perl.proto
Find file Blame History Permalink
  • 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