# Compiling Time: 0.01 SBU # Maintainer: DeX77 pkgname=dnssec-anchors pkgver=20200224 pkgrel=1 pkgdesc='DNSSEC trust anchors for the root zone' url='https://data.iana.org/root-anchors/' archs=('x86_64') groups=('lib') depends=('glibc') makedepends=('unbound') up2date="$pkgver" #TODO: if anyone would find a way for a proper up2date, that would be great build() { Fexec unbound-anchor -v -a root.key Fexec unbound-anchor -v -a root.key || Fdie unbound-host -v -f root.key -t DNSKEY . | sed 's/ (secure)//;t;d' | sed 's/ has / IN /' | sed 's/ record / /' \ > trusted-key.key Finstall 644 etc/trusted-key.key } # optimization OK