summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 911b6a396c0dedc2cdfb692e81203e9812da72fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Wainer Vandelli <wainer dot vandelli at gmail dot com>
pkgname=cern-ca-certs
pkgver=20230604_1
pkgrel=1
pkgdesc="CERN CA certificates"
arch=("any")
url="https://ca.cern.ch/ca/"
license=(unknown)
depends=(p11-kit ca-certificates-utils)
makedepends=(rpmextract)

_version=${pkgver//_/-}
source=("https://linuxsoft.cern.ch/cern/centos/s9/CERN/x86_64/Packages/c/CERN-CA-certs-${_version}.el9.cern.noarch.rpm")
sha256sums=('09b9ff98bd6881b7409e2793ee0c07fa20051fe7f94a0bbc7fafd0942d7eb738')

install=cern-ca-certs.install

package() {
    rpmextract.sh *.rpm
    mkdir -p ${pkgdir}/etc/ca-certificates/trust-source/anchors
    mv ${srcdir}/etc/pki/tls/certs/*.crt ${pkgdir}/etc/ca-certificates/trust-source/anchors
}