1 # Maintainer: Felix Yan <felixonmars@gmail.com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=perl-net-dns-resolver-programmable
5 _realname=Net-DNS-Resolver-Programmable
8 pkgdesc="A Net::DNS::Resolver descendant class for offline emulation of DNS"
10 license=('GPL' 'PerlArtistic')
11 url="https://search.cpan.org/dist/${_realname}/"
12 depends=('perl-net-dns' 'perl')
13 makedepends=('perl-module-build')
14 options=('!emptydirs')
15 source=(https://search.cpan.org/CPAN/authors/id/B/BI/BIGPRESH/${_realname}-${pkgver}.tar.gz)
16 sha512sums=('a9a239ff454ba186e2a00e578615d6b25075f4e1fde548893681c169d04571c1621b023ecd2ccbb95a8fff50d8b811c410212db31a1b78f2d62977a45e90a735')
19 cd ${_realname}-${pkgver}
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
25 cd ${_realname}-${pkgver}
26 make install DESTDIR="${pkgdir}" || return 1