summaryrefslogtreecommitdiff
path: root/Ports/ca-certificates/package.sh
blob: 3820452558eb12efdc91271de650bae24c197c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env -S bash ../.port_include.sh
port=ca-certificates
version=2022-04-26
files="https://curl.se/ca/cacert-${version}.pem cacert-${version}.pem 08df40e8f528ed283b0e480ba4bcdbfdd2fdcf695a7ada1668243072d80f8b6f"
auth_type=sha256
workdir="."

configure() {
    return
}

build() {
    return
}

install() {
    mkdir -p "${SERENITY_INSTALL_ROOT}/etc/ssl/certs"
    cp -vf "cacert-${version}.pem" "${SERENITY_INSTALL_ROOT}/etc/ssl/certs/ca-certificates.crt"
}