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=('958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3')
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"