OCaml 4.14.0 rebuild
[arch-packages.git] / ldns / repos / core-x86_64 / PKGBUILD
blob259cab41df14878d5459d6d5e4e9e6ad4740a9d9
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: mathieui <mathieui@mathieui.net>
3 # Contributor: jiribb <jiribb@gmail.com>
5 pkgname=ldns
6 pkgver=1.8.1
7 pkgrel=1
8 pkgdesc='Fast DNS library supporting recent RFCs'
9 url='https://www.nlnetlabs.nl/projects/ldns/'
10 license=('custom:BSD')
11 arch=('x86_64')
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')
18 build() {
19         cd "${srcdir}/${pkgname}-${pkgver}"
20         ./configure \
21                 --prefix=/usr \
22                 --sysconfdir=/etc \
23                 --localstatedir=/var \
24                 --disable-rpath \
25                 --with-drill \
26                 --with-examples \
27                 --with-trust-anchor=/etc/trusted-key.key \
29         make
32 package() {
33         cd "${srcdir}/${pkgname}-${pkgver}"
34         make DESTDIR="${pkgdir}" install
35         install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"