42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=ldns
|
|
pkgver=1.8.1
|
|
pkgrel=01
|
|
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")
|
|
|
|
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"
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('custom:BSD')
|
|
|
|
sha256sums=(958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3) # ldns-1.8.1.tar.gz
|