1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: mathieui <mathieui@mathieui.net>
3 # Contributor: jiribb <jiribb@gmail.com>
8 pkgdesc='Fast DNS library supporting recent RFCs'
9 url='https://www.nlnetlabs.nl/projects/ldns/'
10 license=('custom:BSD')
12 depends=('openssl' 'dnssec-anchors')
13 optdepends=('libpcap: ldns-dpa tool')
14 makedepends=('libpcap')
15 source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
16 sha256sums=('8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229')
19 cd "${srcdir}/${pkgname}-${pkgver}"
23 --localstatedir=/var \
27 --with-trust-anchor=/etc/trusted-key.key \
33 cd "${srcdir}/${pkgname}-${pkgver}"
34 make DESTDIR="${pkgdir}" install
35 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"