1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Perl Module: Interface to the DNS resolver"
8 license=('PerlArtistic')
9 url="https://search.cpan.org/dist/Net-DNS/"
10 depends=('perl-digest-hmac' 'perl-net-ip')
11 checkdepends=('perl-test-pod' 'perl-mime-base32' 'perl-net-dns-sec' 'perl-net-libidn2')
12 optdepends=('perl-io-socket-inet6: IPv6 support'
13 'perl-socket6: IPv6 support'
14 'perl-net-libidn2: non-ASCII domain support')
15 options=('!emptydirs')
16 source=("https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz")
17 sha512sums=('fd6e04f7f9628a2937ac360d6939f8d6ce866f6b536e78af5879f1a97fc3b38dc3c12223739323613791c603b701f2419635865ccb03c7cacdd5e85559536559')
21 perl Makefile.PL INSTALLDIRS=vendor
32 make DESTDIR="$pkgdir" install