[arch-commits] Commit in perl-net-dns-resolver-programmable/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:42:30 UTC 2021


    Date: Monday, May 24, 2021 @ 10:42:29
  Author: foutrelis
Revision: 416183

archrelease: copy trunk to staging-any

Added:
  perl-net-dns-resolver-programmable/repos/staging-any/
  perl-net-dns-resolver-programmable/repos/staging-any/PKGBUILD
    (from rev 416181, perl-net-dns-resolver-programmable/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: perl-net-dns-resolver-programmable/repos/staging-any/PKGBUILD (from rev 416181, perl-net-dns-resolver-programmable/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 10:42:29 UTC (rev 416183)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=perl-net-dns-resolver-programmable
+_realname=Net-DNS-Resolver-Programmable
+pkgver=0.009
+pkgrel=7
+pkgdesc="A Net::DNS::Resolver descendant class for offline emulation of DNS"
+arch=('any')
+license=('GPL' 'PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl-net-dns' 'perl')
+makedepends=('perl-module-build')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/B/BI/BIGPRESH/${_realname}-${pkgver}.tar.gz)
+sha512sums=('a9a239ff454ba186e2a00e578615d6b25075f4e1fde548893681c169d04571c1621b023ecd2ccbb95a8fff50d8b811c410212db31a1b78f2d62977a45e90a735')
+
+build() {
+  cd ${_realname}-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd ${_realname}-${pkgver}
+  make install DESTDIR="${pkgdir}" || return 1
+}



More information about the arch-commits mailing list