blob: d2d68c07fa462d2a9bfb5d990ef15fd9f061cfbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname='local-certificates'
arch=('any')
pkgver=2019.12.01.14.04.18
pkgrel=1
pkgdesc='Certificate for local version of https://arch.eckner.net'
license=('GPL')
install='local-certificates.install'
url='https://eckner.net/certs'
source=(
'https://eckner.net/certs/2019-09-02T14:00:51.root-ca.crt.old'
'https://eckner.net/certs/2019-12-01T14:04:18.root-ca.crt'
)
sha512sums=(
'3e4e99ab15fb47180c665cad3c794a3e304ef20ab31e6846cd6272a6e1fcd5a86176f24ce95f60d7502c639e7f6efcef5e35bb5e37e5a77632ac1a62a06d11a5'
'f0e11498462a4d0179f17d4fcd6d7b9cc181c6ea11f7fd7b23ed31349b7189dcc0e4bcce070cfcc1ac53d905c054086cb60f52d7c9f9e159f50ea0cedc61831f'
)
package() {
cd "${srcdir}"
install -d "${pkgdir}/usr/share/ca-certificates/trust-source/anchors"
for s in *.cert.pem{,.new} *.crt{,.new}; do
[ -f "$s" ] || continue
install \
"${s}" \
"${pkgdir}/usr/share/ca-certificates/trust-source/anchors/${s#????-??-??T??:??:??.}"
done
}
|