pantry/projects/curl.se/ca-certs/package.yml

23 lines
380 B
YAML
Raw Normal View History

2023-01-19 11:34:57 +03:00
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