diff --git a/x86_64/core/PKGBUILD b/x86_64/core/PKGBUILD index ac622da..7b50c08 100644 --- a/x86_64/core/PKGBUILD +++ b/x86_64/core/PKGBUILD @@ -1,33 +1,23 @@ -# Maintainer: Gaetan Bisson +# Maintainer: Jelle van der Waa +# Contributor: Gaetan Bisson # Contributor: Thomas Mudrunka # Contributor: m4xm4n pkgname=dnssec-anchors pkgver=20190629 -pkgrel=2 +_trusted_key=trusted-key-${pkgver}.key +pkgrel=3 pkgdesc='DNSSEC trust anchors for the root zone' url='https://data.iana.org/root-anchors/' license=('custom:none') arch=('any') makedepends=('unbound') -source=('LICENSE') -sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb') - -prepare() { - cd "${srcdir}" - - unbound-anchor -v -a root.key || - unbound-anchor -v -a root.key - - unbound-host -v -f root.key -t DNSKEY . | - sed 's/ (secure)//;t;d' | - sed 's/ has / IN /' | - sed 's/ record / /' \ - > trusted-key.key -} +source=('LICENSE' "https://sources.archlinux.org/other/packages/${pkgname}/${_trusted_key}") +sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb' + 'b01933ede7d505cac6bbee8c58027057d3a073581fa6cf595c352553dd07ee3c') package() { cd "${srcdir}" - install -Dm644 trusted-key.key "${pkgdir}"/etc/trusted-key.key + install -Dm644 ${_trusted_key} "${pkgdir}"/etc/trusted-key.key install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/x86_64/testing/dnssec-anchors-versioned.sh b/x86_64/core/dnssec-anchors-versioned.sh similarity index 100% rename from x86_64/testing/dnssec-anchors-versioned.sh rename to x86_64/core/dnssec-anchors-versioned.sh diff --git a/x86_64/testing/LICENSE b/x86_64/testing/LICENSE deleted file mode 100644 index 32da5f8..0000000 --- a/x86_64/testing/LICENSE +++ /dev/null @@ -1 +0,0 @@ -The contents of this package are inelligible for copyright protection. diff --git a/x86_64/testing/PKGBUILD b/x86_64/testing/PKGBUILD deleted file mode 100644 index 7b50c08..0000000 --- a/x86_64/testing/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Jelle van der Waa -# Contributor: Gaetan Bisson -# Contributor: Thomas Mudrunka -# Contributor: m4xm4n - -pkgname=dnssec-anchors -pkgver=20190629 -_trusted_key=trusted-key-${pkgver}.key -pkgrel=3 -pkgdesc='DNSSEC trust anchors for the root zone' -url='https://data.iana.org/root-anchors/' -license=('custom:none') -arch=('any') -makedepends=('unbound') -source=('LICENSE' "https://sources.archlinux.org/other/packages/${pkgname}/${_trusted_key}") -sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb' - 'b01933ede7d505cac6bbee8c58027057d3a073581fa6cf595c352553dd07ee3c') - -package() { - cd "${srcdir}" - install -Dm644 ${_trusted_key} "${pkgdir}"/etc/trusted-key.key - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -}