Date: Saturday, August 13, 2022 @ 10:35:22 Author: felixonmars Revision: 452656
archrelease: copy trunk to testing-x86_64 Added: ldns/repos/testing-x86_64/ ldns/repos/testing-x86_64/PKGBUILD (from rev 452655, ldns/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: ldns/repos/testing-x86_64/PKGBUILD (from rev 452655, ldns/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-08-13 10:35:22 UTC (rev 452656) @@ -0,0 +1,36 @@ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: mathieui <mathi...@mathieui.net> +# Contributor: jiribb <jir...@gmail.com> + +pkgname=ldns +pkgver=1.8.2 +pkgrel=1 +pkgdesc='Fast DNS library supporting recent RFCs' +url='https://www.nlnetlabs.nl/projects/ldns/' +license=('custom:BSD') +arch=('x86_64') +depends=('openssl' 'dnssec-anchors') +optdepends=('libpcap: ldns-dpa tool') +makedepends=('libpcap') +source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('b92b001cdd382de653620a05445e42e17a827eec93d64ee587ad291a533cc1e9') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-rpath \ + --with-drill \ + --with-examples \ + --with-trust-anchor=/etc/trusted-key.key \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}