diff options
Diffstat (limited to 'main/perl-net-dns')
-rw-r--r-- | main/perl-net-dns/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/main/perl-net-dns/APKBUILD b/main/perl-net-dns/APKBUILD index a9eef71bf4..d87821b69b 100644 --- a/main/perl-net-dns/APKBUILD +++ b/main/perl-net-dns/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> 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" |