# $Id: PKGBUILD 216769 2014-07-10 17:52:48Z fyan $ # Maintainer: Felix Yan pkgname=perl-net-dns pkgver=0.78 pkgrel=1 pkgdesc="Perl Module: Interface to the DNS resolver" arch=('i686' 'x86_64') license=('PerlArtistic') url="http://search.cpan.org/dist/Net-DNS/" depends=('perl-digest-hmac' 'perl-net-ip' 'perl') checkdepends=('perl-test-pod') optdepends=('perl-io-socket-inet6: IPv6 support' 'perl-socket6: IPv6 support') options=('!emptydirs') source=(http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz) sha1sums=('a50fdf4786fadd7ece6958393f9b81e1eae749ac') build() { cd Net-DNS-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { cd Net-DNS-${pkgver} make test } package() { cd Net-DNS-${pkgver} make DESTDIR="${pkgdir}" install }