# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=s6-dns pkgver=2.2.0.1 pkgrel=0 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" url="http://skarnet.org/software/$pkgname/" arch="all" license="ISC" depends="skalibs" options="!check" makedepends="skalibs-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/"$pkgname-$pkgver build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libexecdir="/usr/lib/$package" \ --with-dynlib=/lib make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="9b62ddec94be86d186520f0240dafda95861c54345f92a1fac3251f8560e70932bc5915cca4136d428ed02d0718e8082ad382bffd0c707ae867f1896d93ecaed s6-dns-2.2.0.1.tar.gz"