core/dnsutils/PKGBUILD
2017-01-18 22:51:35 +00:00

38 lines
804 B
Bash

pkgname=dnsutils
# _pkver when P version used.
pkgver=9.11.1
_pkgver=9.11.1b1
pkgrel=1
pkgdesc="Various DNS utilities - dig host nslookup nsupdate"
arch=('x86_64')
url="https://www.isc.org/software/bind"
license=('custom:ISC')
depends=('openssl' 'readline')
options=('makeflags')
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz")
md5sums=('08638a21adb963a60dd2bfe7e642fa96')
build() {
cd "${srcdir}/bind-${_pkgver}"
export STD_CDEFINES='-DDIG_SIGCHASE'
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-linux-caps \
--with-openssl
make
}
package() {
cd "${srcdir}/bind-${_pkgver}"
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd bin; make DESTDIR="${pkgdir}" install
}