blob: 8a5b395421c95b74bdd0126c9a52e095dab2d2a6 (
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=2020.01.14.09.40.53
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/2020-01-13T14:36:50.root-ca.old.crt'
'https://eckner.net/certs/2020-01-14T09:40:53.root-ca.crt'
)
sha512sums=(
'cc33ad5a3520d41f05e84eefc23f7e8283c14d812a726132ac77c469e3f3e7e5ee9435221a1937a4653efc6c9adf3a0a97ecfc2c620f2fce8fb7dcf1f7379e34'
'ba8266c9f7eb54d27a18b599e3ce2e01053e9b161343916fb6bf6a27c42c522e4ba93bb02ccbea4da2a614495927acc75796d5bb1141af8eeaaab605b7abc085'
)
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
}
|