archrelease: copy trunk to testing-x86_64
[arch-packages.git] / perl-net-dns / trunk / PKGBUILD
blob7beacf92e82c81602109063ee51e0cf289ca6252
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-net-dns
4 pkgver=1.34
5 pkgrel=1
6 pkgdesc="Perl Module: Interface to the DNS resolver"
7 arch=('any')
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=('890b5e7b574a546337571a8c7f5836650a7de41301ce2386d973041f0f1da0bd40c69cfc3625fccd01685502017b42d23cd75e95f40a1ffd7bcc796385899032')
19 build() {
20   cd Net-DNS-$pkgver
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
25 check() {
26   cd Net-DNS-$pkgver
27   make test
30 package() {
31   cd Net-DNS-$pkgver
32   make DESTDIR="$pkgdir" install