summaryrefslogtreecommitdiff
path: root/extra/perl-net-dns
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-net-dns')
-rw-r--r--extra/perl-net-dns/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/extra/perl-net-dns/PKGBUILD b/extra/perl-net-dns/PKGBUILD
index 1a4f7c0cc..e1024c6c1 100644
--- a/extra/perl-net-dns/PKGBUILD
+++ b/extra/perl-net-dns/PKGBUILD
@@ -1,33 +1,38 @@
-# $Id: PKGBUILD 125273 2011-05-25 19:19:34Z foutrelis $
+# $Id: PKGBUILD 153680 2012-03-17 20:08:26Z eric $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=perl-net-dns
_realname=Net-DNS
-pkgver=0.66
-pkgrel=4
+pkgver=0.68
+pkgrel=1
pkgdesc="Perl Module: Interface to the DNS resolver."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-digest-hmac' 'perl-net-ip' 'perl>=5.10.0')
+options=('!emptydirs')
source=(http://www.cpan.org/authors/id/O/OL/OLAF/${_realname}-$pkgver.tar.gz)
-options=(!emptydirs)
+md5sums=('05c0f6955747758bb5c9578d9bc6c3a5')
build() {
- cd $srcdir/${_realname}-${pkgver}
+ cd "$srcdir/${_realname}-${pkgver}"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd "$srcdir/${_realname}-${pkgver}"
+ make test
+}
+
package() {
- cd $srcdir/${_realname}-${pkgver}
- make install DESTDIR=${pkgdir}
+ cd "$srcdir/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
# remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
}
# vim: ts=2 sw=2 et ft=sh
-md5sums=('1635d876324e3c2f6e277d5778bfe94c')