[arch-commits] Commit in perl-net-dns/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 2 04:13:58 UTC 2017


    Date: Friday, June 2, 2017 @ 04:13:57
  Author: felixonmars
Revision: 297353

archrelease: copy trunk to staging-any

Added:
  perl-net-dns/repos/staging-any/
  perl-net-dns/repos/staging-any/PKGBUILD
    (from rev 297352, perl-net-dns/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: perl-net-dns/repos/staging-any/PKGBUILD (from rev 297352, perl-net-dns/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2017-06-02 04:13:57 UTC (rev 297353)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-net-dns
+pkgver=1.10
+pkgrel=2
+pkgdesc="Perl Module: Interface to the DNS resolver"
+arch=('any')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/Net-DNS/"
+depends=('perl-digest-hmac' 'perl-net-ip')
+checkdepends=('perl-test-pod' 'perl-mime-base32' 'perl-net-dns-sec')
+optdepends=('perl-io-socket-inet6: IPv6 support'
+            'perl-socket6: IPv6 support')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz)
+sha1sums=('02c1009ae2010c7248ad7c749e93bdbd275e6ecc')
+
+build() {
+  cd Net-DNS-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Net-DNS-${pkgver}
+  make test
+}
+
+package() {
+  cd Net-DNS-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list