# Maintainer: Erich Eckner pkgname='local-certificates' arch=('any') pkgver=2021.05.26.20.27.31 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-05-31T20:30:22.opennic_root_ca.old.crt' 'https://eckner.net/certs/2020-11-30T23:50:55.opennic_root_ca.old.crt' 'https://eckner.net/certs/2020-11-30T22:42:33.root-ca.old.crt' 'https://eckner.net/certs/2021-01-16T22:19:18.root-ca.crt' 'https://eckner.net/certs/2021-05-26T20:27:31.opennic_root_ca.crt' ) sha512sums=( '05599a55243839294d6f158193b8f124a6e8db0394dbf03b67978251c7dfb989373ae5b1de532db8d345da573c484bcf1b18a5d51ec7173fad1b1e98a8c414f7' 'eb6c517ba5a7e5e30bc7e64cc241af93497aa95419d199d611608777e8ac2302b574c89854cd9f293862bd7fa9ea920a248461d9ef8690a96d8da2346b65f87e' '61da66fb406b02f82fdded0219a8b472330c2a51d837e2c796328b8a61846e41f30219f56bbfa4c753823b83d5a952d43018ba625923813b06daa83d93f21dfc' 'aa08f8203c5151175a8183354a0d4d7a8704fd9a7024820e0deb9d9be77f8e15238edc298be67379fd69e9209714ad7c1e31727ed2c525e6e12062f967ec95c9' 'ae16c1aab7a88dbfb6982ed54b6dc0878f4204e5b9d501757c305d46aa752ab1ee936ce8c6941a6249fffa8f5d32b22abd1ca397bcc3e083964b5299dbfe8ca6' ) 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 }