pkgname=dnsutils # _pkver when P version used. After 9.13, only use even number, odd are for unstable, development. pkgver=9.18.26 _pkgver=9.18.26 pkgrel=1 pkgdesc="DNS utilities, tools, name resolver and domain name authority server" arch=('x86_64') url="https://www.isc.org/downloads/bind/" license=('custom:ISC') depends=('openssl' 'libidn2' 'libuv' 'json-c' 'libnsl') makedepends=('python3') options=('makeflags') source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz") md5sums=('b9a6f9edd47e91e9fffe2ce8ffe576fb') build() { cd bind-${_pkgver} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --disable-linux-caps \ --disable-doh \ --disable-geoip \ --with-openssl \ --with-libidn2 make } package() { cd bind-${_pkgver} make DESTDIR=${pkgdir} install install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE #cd bin; make DESTDIR=${pkgdir} install }