jobcore/dnssec-anchors/PKGBUILD

29 lines
980 B
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=dnssec-anchors
pkgver=20190629
_trusted_key=trusted-key-${pkgver}.key
pkgrel=03
pkgdesc='DNSSEC trust anchors for the root zone'
url='https://data.iana.org/root-anchors/'
arch=('any')
makedepends=('unbound')
source=('LICENSE' "https://sources.archlinux.org/other/packages/${pkgname}/${_trusted_key}")
package() {
cd "${srcdir}"
install -Dm644 ${_trusted_key} "${pkgdir}"/etc/trusted-key.key
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- license gpg-key sha256sums ----
license=('custom:none')
sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb'
'b01933ede7d505cac6bbee8c58027057d3a073581fa6cf595c352553dd07ee3c')