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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:52:37 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:52:36
  Author: foutrelis
Revision: 354200

archrelease: copy trunk to staging-any

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

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

Copied: perl-net-dns/repos/staging-any/PKGBUILD (from rev 354199, perl-net-dns/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 10:52:36 UTC (rev 354200)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-net-dns
+pkgver=1.20
+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=("https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz")
+sha512sums=('1599d1b205a4d231a6b917fbc6da150fb77f13f4a16436ed0d8e582f709ab30e3af1435c26b381e8e33a8e015b5ed1f4958dfc3ba6dab58f02564e89c1d3b67e')
+
+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