OCaml 4.14.0 rebuild
[arch-packages.git] / perl-net-dns-resolver-programmable / trunk / PKGBUILD
blob0ae5eeeda3cc9d4467d50b3a4e4932bb4a46127b
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
6 pkgver=0.009
7 pkgrel=8
8 pkgdesc="A Net::DNS::Resolver descendant class for offline emulation of DNS"
9 arch=('any')
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')
18 build() {
19   cd ${_realname}-${pkgver}
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 package() {
25   cd ${_realname}-${pkgver}
26   make install DESTDIR="${pkgdir}" || return 1