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

Felix Yan felixonmars at archlinux.org
Fri Feb 16 18:13:33 UTC 2018


    Date: Friday, February 16, 2018 @ 18:13:32
  Author: felixonmars
Revision: 295018

archrelease: copy trunk to community-x86_64

Added:
  perl-net-dns-sec/repos/community-x86_64/
  perl-net-dns-sec/repos/community-x86_64/PKGBUILD
    (from rev 295017, perl-net-dns-sec/trunk/PKGBUILD)

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

Copied: perl-net-dns-sec/repos/community-x86_64/PKGBUILD (from rev 295017, perl-net-dns-sec/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-02-16 18:13:32 UTC (rev 295018)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.28
+
+pkgname=perl-net-dns-sec
+pkgver=1.04
+pkgrel=2
+pkgdesc="DNSSEC extensions to Net::DNS"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+depends=('perl-crypt-openssl-bignum' 'perl-crypt-openssl-dsa' 'perl-crypt-openssl-rsa' 'perl-digest-bubblebabble' 'perl-mime-base32' 'perl-net-dns' 'perl')
+checkdepends=('perl-test-pod')
+url='http://search.mcpan.org/dist/Net-DNS-SEC'
+options=('!emptydirs')
+source=("http://search.mcpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-$pkgver.tar.gz")
+sha512sums=('d90f3100ecb3e90c698f6c86b4f6aa54d1665067cf95d9d14da5adabd7e3fa53faad5ee580cb05f033b82b3126fe2bd64a6b3fb59ed69b17ee5b8f55cb5b0484')
+_distdir="Net-DNS-SEC-$pkgver"
+
+build() {
+  cd "$srcdir/$_distdir"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_distdir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_distdir"
+  make DESTDIR="$pkgdir/" install
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+        _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+        _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+        depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list