51 lines
1.5 KiB
Bash
51 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=ldns
|
|
pkgver=1.8.4
|
|
pkgrel=01
|
|
pkgdesc='Fast DNS library supporting recent RFCs'
|
|
url='https://www.nlnetlabs.nl/projects/ldns/'
|
|
depends=('openssl' 'dnssec-anchors')
|
|
optdepends=('libpcap: ldns-dpa tool')
|
|
makedepends=('libpcap')
|
|
provides=('drill' 'libldns.so')
|
|
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"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('custom:BSD')
|
|
|
|
validpgpkeys=('DC34EE5DB2417BCC151E5100E5F8F8212F77A498') # Willem Toorop
|
|
|
|
sha256sums=(838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247 # ldns-1.8.4.tar.gz
|
|
8e341cd676553449a1b29b834d244c0212f8ec2f8b3fdf4bc565529641bce240) # ldns-1.8.4.tar.gz.asc
|
|
|
|
## b078c432d669b824a9cf02b06b122062ed2b0479055bfef81384358eed8bbcf1 ldns-1.8.4-01-x86_64.pkg.tar.lz
|
|
|