# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-net-dns _realname=Net-DNS pkgver=1.01 pkgrel=0 pkgdesc="Perl interface to the DNS resolver" url="http://www.net-dns.org/" arch="noarch" license="GPL+ or Artistic" depends="perl" makedepends="perl-dev" install="" subpackages="$pkgname-doc" source="http://www.cpan.org/authors/id/N/NL/NLNETLABS/${_realname}-$pkgver.tar.gz" source="http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/$_realname-$pkgver.tar.gz" _builddir="$srcdir/$_realname-$pkgver" build() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="41e59dc2cad35eda357f2f534d94ae8b Net-DNS-1.01.tar.gz" sha256sums="8f96b80d46764993dbad92e22cf5fc869ecdc1d09018f2565440d528afd9d92a Net-DNS-1.01.tar.gz" sha512sums="68dcb39392dfb90940dac867d7963d3578d86436d50e8b4ced6a9f7b8d79952cbc49bfa413a97d7b53b4140d2d542dedb868b6fe0813296a8cf1620f36053e52 Net-DNS-1.01.tar.gz"