diff options
Diffstat (limited to 'abs/core/dnsutils/PKGBUILD')
-rw-r--r-- | abs/core/dnsutils/PKGBUILD | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/abs/core/dnsutils/PKGBUILD b/abs/core/dnsutils/PKGBUILD index 672613e..336f534 100644 --- a/abs/core/dnsutils/PKGBUILD +++ b/abs/core/dnsutils/PKGBUILD @@ -1,31 +1,36 @@ -# $Id: PKGBUILD 5888 2008-07-21 19:29:16Z kevin $ -# Maintainer: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 85957 2010-07-22 20:05:06Z kevin $ +# Maintainer: kevin <kevin@archlinux.org> # Contributor: mario <mario_vazq@hotmail.com> pkgname=dnsutils -pkgver=9.5.0 -_pkgver=9.5.0-P1 -pkgrel=4 +# Use a period and not a hyphen before the patch level for proper versioning. +pkgver=9.7.1.P2 +_pkgver=9.7.1-P2 +pkgrel=1 pkgdesc="Various DNS utilities - dig host nslookup nsupdate" arch=(i686 x86_64) -url="http://www.isc.org/index.pl?/sw/bind/" +url="https://www.isc.org/software/bind" license=('custom:ISC') -depends=('openssl>=0.9.8e') -replaces=('bind-tools') -source=(ftp://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz +depends=('openssl') +replaces=('bind-tools' 'host') +options=('makeflags') +source=(http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz bind.so_bsdcompat.diff tools-only.patch) -md5sums=('a4f9dd6d205d24ec89fa4e44d8188197' '447d58721cfee0e1e377b46f7d50b327' - '329f7e15b8c45d3efefdf5b559bb878a') +md5sums=('bd6be63cc910d04da39103d441871596' + '447d58721cfee0e1e377b46f7d50b327' + 'be0558f70ed81d90e68e6b6003ba12ed') build() { - export MAKEFLAGS="-j1" - - cd ${startdir}/src/bind-${_pkgver} - patch -Np0 -i ${startdir}/src/bind.so_bsdcompat.diff || return 1 - patch -Np1 -i ${startdir}/src/tools-only.patch || return 1 + cd "${srcdir}/bind-${_pkgver}" + patch -Np0 -i "${srcdir}/bind.so_bsdcompat.diff" || return 1 + patch -Np1 -i "${srcdir}/tools-only.patch" || return 1 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --with-openssl=yes --disable-linux-caps --without-libxml2 + --with-openssl=yes --disable-linux-caps --without-libxml2 || return 1 make || return 1 - cd bin - make DESTDIR=${startdir}/pkg install || return 1 - install -D -m644 ../COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE +} + +package() { + cd "${srcdir}/bind-${_pkgver}/bin" + make DESTDIR="${pkgdir}" install || return 1 + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 } |