# Maintainer: Markus Fritsche <mfritsche@reauktion.de>
# Trust anchor for the private reauktion.de Home CA (internal *.fritz.box
# HTTPS). No upstream project — PKI material generated once on hertz
# (/opt/herding/pki/), the cert is committed alongside this PKGBUILD.

pkgname=reauktion-home-ca
pkgver=20260716
pkgrel=1
pkgdesc="reauktion.de Home CA trust anchor for internal *.fritz.box HTTPS"
arch=('any')
url="https://git.reauktion.de/marfrit/marfrit-packages"
license=('custom')
depends=('ca-certificates-utils')
source=('reauktion-home-ca.crt')
sha256sums=('838fdb30d06ecbc95dabcb545920c03535527282e0e602598659e1de6de71f4c')

package() {
    install -Dm644 "${srcdir}/reauktion-home-ca.crt" \
        "${pkgdir}/etc/ca-certificates/trust-source/anchors/reauktion-home-ca.crt"
}
