aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-dns/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-02 08:45:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-02 08:45:48 +0000
commitc26890336dc9a275614be84e32c2d367ac9a0938 (patch)
tree554abf3cf7c9c96828f4a40aa21d0ac33760fdba /main/perl-net-dns/APKBUILD
parentac6e0c78ca8a1c63d9705feac317b30c0ef46085 (diff)
downloadaports-c26890336dc9a275614be84e32c2d367ac9a0938.tar.gz
aports-c26890336dc9a275614be84e32c2d367ac9a0938.tar.bz2
aports-c26890336dc9a275614be84e32c2d367ac9a0938.tar.xz
main/perl-net-dns: upgrade to 0.66
Diffstat (limited to 'main/perl-net-dns/APKBUILD')
-rw-r--r--main/perl-net-dns/APKBUILD12
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"