pantry/projects/cpanmin.us/package.yml

28 lines
540 B
YAML
Raw Permalink Normal View History

2023-01-31 00:12:24 +03:00
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?
2023-01-31 00:12:24 +03:00
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