# Maintainer: Kevin Piche # Contributor: Manolis Tzanidakis # Wersja dla NND: czerwo pkgname=perl-net-dns _realname=Net-DNS pkgver=0.59 pkgrel=3nnd pkgdesc="Perl Module: Interface to the DNS resolver." url="http://search.cpan.org/~olaf/$_realname-$pkgver/" depends=('perl-digest-hmac' 'perl-net-ip') source=(http://www.cpan.org/authors/id/O/OL/OLAF/$_realname-$pkgver.tar.gz) md5sums=('d3408875f34e5fa0a313a4a21c70e832') build() { cd $startdir/src/$_realname-$pkgver # Force module installation to "current" perl directories. eval `perl -V:archname` /usr/bin/perl Makefile.PL \ INSTALLARCHLIB=/usr/lib/perl5/current/$archname \ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/$archname /usr/bin/make || return 1 /usr/bin/make install DESTDIR=$startdir/pkg find $startdir/pkg -name "\.packlist" -exec sed -i "s:$startdir/pkg::" {} \; find $startdir/pkg -name "perllocal.pod" -exec rm {} \; }