1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-net-dns-resolver-mock
6 pkgdesc='Mock a DNS Resolver object for testing'
8 license=(PerlArtistic GPL)
10 depends=(perl-net-dns)
11 makedepends=('perl>=5.6')
12 checkdepends=(perl-test-exception)
13 url=https://metacpan.org/release/Net-DNS-Resolver-Mock
14 source=("https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Net-DNS-Resolver-Mock-$pkgver.tar.gz")
15 md5sums=(95319f092cdfe55fb5a68067d4b29604)
16 sha512sums=(92ac244dc2a7b939b1e8e8c71eb9ce65fdf1494dd08c62e6fc3720ffa82acc7c354bd7dcb8c77d9e52ee132773864b4b3ba869303af7363001ff5e9125c06802)
17 _ddir="Net-DNS-Resolver-Mock-$pkgver"
22 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
23 unset PERL5LIB PERL_MM_OPT
24 /usr/bin/perl Makefile.PL
31 export PERL_MM_USE_DEFAULT=1
39 make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
46 # vim:set ts=2 sw=2 et: