pantry/projects/curl.se/ca-certs/package.yml
Jacob Heider cdcd5863c1 +ca-certs
2023-01-19 17:56:59 -05:00

23 lines
380 B
YAML

distributable: ~
versions:
- 2022.07.19
runtime:
env:
SSL_CERT_FILE: ${{prefix}}/ssl/cert.pem
build:
dependencies:
curl.se: '*'
script: |
cd "{{prefix}}"
mkdir -p ssl
URL_VER=$(echo {{version.raw}} | tr -- . -)
curl -k https://curl.se/ca/cacert-$URL_VER.pem -o ssl/cert.pem
test:
dependencies:
curl.se: '*'
script: curl https://tea.xyz