archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ldns / trunk / PKGBUILD
blob0181a2d742ded6e7fae3602e3c8d4b528f401908
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.7.1
7 pkgrel=2
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=('8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229')
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"