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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 11:13:50 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:13:50
  Author: foutrelis
Revision: 330167

archrelease: copy trunk to staging-any

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

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

Copied: perl-net-dns/repos/staging-any/PKGBUILD (from rev 330166, perl-net-dns/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 11:13:50 UTC (rev 330167)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-net-dns
+pkgver=1.17
+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)
+sha512sums=('7f69fdff454efb82afafd7ae1c47524dd337e27d915c87146547088a5f86581dc2867e07a473c68fb29ef08146e0b2c739fcc39e21aa1bf74d6c3eb718d545e6')
+
+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