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=(d191b6b1eb40497024988f500fe65ed4)
16 sha512sums=(832fdae88ef915251bd71ebacd3223cd8adb269cbb2e9724c617b31cfa65c92471ce93273070143c629e0a3f3bda54bcd5d55ae78fd60eae6c929bb7da7e1290)
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: