core/ldns/PKGBUILD
Ram-Z 8855408665 ldns: update version (not built)
This doesn't actually build it requires upgrades in openssl
2018-01-23 21:41:51 +00:00

42 lines
1.1 KiB
Bash

#
# Maintainer: Weng Xuetian <wengxt@gmail.com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: mathieui <mathieui@mathieui.net>
# Contributor: jiribb <jiribb@gmail.com>
pkgname=ldns
pkgver=1.7.0
pkgrel=1
pkgdesc='Fast DNS library supporting recent RFCs'
url='http://www.nlnetlabs.nl/projects/ldns/'
license=('custom:BSD')
arch=('x86_64')
depends=('openssl' 'dnssec-anchors')
optdepends=('libpcap: ldns-dpa tool')
makedepends=('libpcap')
source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'pc.patch')
sha1sums=('ceeeccf8a27e61a854762737f6ee02f44662c1b8'
'92161452a6e75dd283bebef4e60135ed23497e51')
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"
}