1 # Generated by Xyne::Arch::CPAN 0.07
3 pkgname=perl-net-dns-sec
6 pkgdesc="DNSSEC extensions to Net::DNS"
8 url="http://search.cpan.org/dist/Net-DNS-SEC/"
10 source=('http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-SEC-0.16.tar.gz')
11 md5sums=('70a8b59dda39a0effe22bfc12905d942')
12 sha256sums=('3d5b542ec58060066573f84698add1ba811ed6e9ea10e2101a0d8fdea52cd6e4')
13 depends=('perl-crypt-openssl-bignum' 'perl-crypt-openssl-dsa>=0.100.0' 'perl-crypt-openssl-rsa' 'perl-digest-bubblebabble>=0.10.0' 'perl-digest-sha1' 'perl-digest-sha' 'perl-math-bigint' 'perl-mime-base32' 'perl-mime-base64' 'perl-net-dns' 'perl-time-local')
14 makedepends=('perl-extutils-makemaker')
15 provides=('perl-net-dns-keyset=728' 'perl-net-dns-rr-dlv=580' 'perl-net-dns-rr-dnskey=847.' 'perl-net-dns-rr-ds=728.' 'perl-net-dns-rr-key=847.' 'perl-net-dns-rr-nsec3=510.' 'perl-net-dns-rr-nsec3param=510.' 'perl-net-dns-rr-nsec=813.' 'perl-net-dns-rr-nxt=318.' 'perl-net-dns-rr-rrsig=814.' 'perl-net-dns-rr-sig=777.' 'perl-net-dns-sec-private=816.')
19 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
20 if [ ! -z "$_dir" ]; then
22 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
24 make install DESTDIR="${pkgdir}" || return 1
27 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
28 if [ ! -z "$_dir" ]; then
30 PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
32 ./Build install destdir=${pkgdir} || return 1
35 echo "error: failed to detect build method for $pkgname"
36 echo "you may be able to fix this by editing the PKGBUILD"
40 # remove perllocal.pod and .packlist
41 find ${pkgdir} -name perllocal.pod -delete
42 find ${pkgdir} -name .packlist -delete
45 # vim:set ts=2 sw=2 et: