summaryrefslogtreecommitdiff
path: root/extra/perl-net-dns
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-19 00:01:09 +0000
committerroot <root@rshg054.dnsready.net>2012-03-19 00:01:09 +0000
commitde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (patch)
tree54a8758af5dc5a08f95d12f7fe04cec1d51024a6 /extra/perl-net-dns
parentd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (diff)
Mon Mar 19 00:01:09 UTC 2012
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')