db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / ldns / repos / core-x86_64 / PKGBUILD
blobeb8faeaf8bed2e9068bfee5145d7a4427d843f95
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.3
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"{,.asc})
16 sha256sums=('c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860'
17             'SKIP')
18 validpgpkeys=('DC34EE5DB2417BCC151E5100E5F8F8212F77A498') # Willem Toorop
20 build() {
21         cd $pkgname-$pkgver
22         ./configure \
23                 --prefix=/usr \
24                 --sysconfdir=/etc \
25                 --localstatedir=/var \
26                 --disable-rpath \
27                 --with-drill \
28                 --with-examples \
29                 --with-trust-anchor=/etc/trusted-key.key \
31         make
34 package() {
35         cd $pkgname-$pkgver
36         make DESTDIR="${pkgdir}" install
37         install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"