summaryrefslogtreecommitdiffstats
path: root/abs/core/dnssec-anchors/PKGBUILD
blob: 3546394dc9d7ab6f4aa615751b3544ec266a098d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 157121 2012-04-24 08:19:44Z bisson $
# Contributor: Thomas Mudrunka <harvie@email.cz>
# Contributor: m4xm4n <max@maxfierke.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=dnssec-anchors
pkgver=20120422
pkgrel=1
pkgdesc='DNSSEC trust anchors for the root zone'
url='http://data.iana.org/root-anchors/'
license=('custom:NoCopyright')
arch=('any')
source=('trusted-key.key')
sha256sums=('a6e1e5de6d3f26ea74792eab7ac21cc7805e986303bfa270a0120cc8146f881a')

# dig . dnskey +short | sed 's/^/. 172789 IN DNSKEY /' > trusted-key.key

package() {
	cd "${srcdir}"

	install -Dm644 trusted-key.key "${pkgdir}"/etc/trusted-key.key

	install -d "${pkgdir}/usr/share/licenses/${pkgname}"
	cat > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" << EOF
The contents of this package are inelligible for copyright protection.
EOF
}