From c26890336dc9a275614be84e32c2d367ac9a0938 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 2 Feb 2010 08:45:48 +0000 Subject: main/perl-net-dns: upgrade to 0.66 --- main/perl-net-dns/APKBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'main/perl-net-dns/APKBUILD') diff --git a/main/perl-net-dns/APKBUILD b/main/perl-net-dns/APKBUILD index a9eef71bf..d87821b69 100644 --- a/main/perl-net-dns/APKBUILD +++ b/main/perl-net-dns/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena pkgname=perl-net-dns _realname=Net-DNS -pkgver=0.65 +pkgver=0.66 pkgrel=0 pkgdesc="Perl interface to the DNS resolver" url="http://search.cpan.org/dist/Archive-Zip/" @@ -13,14 +13,18 @@ install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/$_realname-$pkgver.tar.gz" +_builddir="$srcdir/$_realname-$pkgver" build() { - cd "$srcdir/$_realname-$pkgver" - + 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 -delete } -md5sums="54e5a12a20de39b954a93723927ac789 Net-DNS-0.65.tar.gz" +md5sums="1635d876324e3c2f6e277d5778bfe94c Net-DNS-0.66.tar.gz" -- cgit v1.2.3