pantry/projects/cpanmin.us/package.yml
2023-10-01 20:41:57 -04:00

27 lines
540 B
YAML

distributable:
url: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-{{version.raw}}.tar.gz
strip-components: 1
versions:
github: miyagawa/cpanminus/tags
ignore:
- /^1.9/ # invalid versions in the tags for some reason
- /^1.79/ # ^^
- /^1.71/ # ^^ like wtf?
dependencies:
perl.org: '*'
companions:
provides:
- bin/cpanm
build:
script: |
perl Makefile.PL INSTALL_BASE={{prefix}}
make install
fix-shebangs.ts {{prefix}}/bin/cpanm
test: cpanm --verbose --local-lib=./out Test::More