blob: 5f2232b6c0a1efe37995198fbd3121e01a288a67 (
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.09.10.30.07
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-12-09T10:25:02.root-ca.old.crt'
'https://eckner.net/certs/2019-12-09T10:30:07.root-ca.crt'
)
sha512sums=(
'2cb8961553e664faa1015182b466b24814645b25138e50f1e7362dfee756066f472f1f699764015e79e56e46ab93807dc2ce01374e639962574fd072b468a9a6'
'8391b8219c111b0f2128f6620161bcd76fe5ddd5a609bb8371646dc40ada8c1c0084fc692472cf9b3e2fde36d48404104596ff3ebef50ab6c2eec267a1faf054'
)
package() {
cd "${srcdir}"
install -d "${pkgdir}/usr/share/ca-certificates/trust-source/anchors"
for s in *{,.old}.cert.pem *{,.old}.crt; do
[ -f "$s" ] || continue
install \
"${s}" \
"${pkgdir}/usr/share/ca-certificates/trust-source/anchors/${s#????-??-??T??:??:??.}"
done
}
|