#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=ldns pkgver=1.8.3 pkgrel=02 pkgdesc='Fast DNS library supporting recent RFCs' url='https://www.nlnetlabs.nl/projects/ldns/' 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"{,.asc}) build() { cd $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 $pkgname-$pkgver make DESTDIR="${pkgdir}" install install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } #---- license gpg-key sha256sums ---- license=('custom:BSD') validpgpkeys=('DC34EE5DB2417BCC151E5100E5F8F8212F77A498') # Willem Toorop sha256sums=(c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860 # ldns-1.8.3.tar.gz b872fb26a76591af93a73c0dda6532d5dc4c236fec05512f81e81cb2687ef65f) # ldns-1.8.3.tar.gz.asc