1 # Generated by Xyne::Arch::CPAN 0.07
3 pkgname=perl-net-z3950-zoom
6 pkgdesc="Perl extension for invoking the ZOOM-C API."
8 url="http://search.cpan.org/dist/Net-Z3950-ZOOM/"
10 source=('http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.28.tar.gz')
11 md5sums=('812c3f22d7ee4a0b521ea6d94c78d22e')
12 sha256sums=('c8fef9e47cc7d4783966623efbf3e843d719cc93c4b5df9706b7e81b533d976a')
13 depends=('perl-marc-record>=1.380.0')
14 provides=('perl-net-z3950-op=0.990.0' 'perl-net-z3950=0.990.0' 'perl-zoom' 'perl-zoom-ccl-error' 'perl-zoom-connection' 'perl-zoom-error' 'perl-zoom-event' 'perl-zoom-exception' 'perl-zoom-log' 'perl-zoom-options' 'perl-zoom-package' 'perl-zoom-query' 'perl-zoom-query-ccl2rpn' 'perl-zoom-query-cql' 'perl-zoom-query-cql2rpn' 'perl-zoom-query-pqf' 'perl-zoom-record' 'perl-zoom-resultset' 'perl-zoom-scanset')
18 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
19 if [ ! -z "$_dir" ]; then
21 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
23 make install DESTDIR="${pkgdir}" || return 1
26 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
27 if [ ! -z "$_dir" ]; then
29 PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
31 ./Build install destdir=${pkgdir} || return 1
34 echo "error: failed to detect build method for $pkgname"
35 echo "you may be able to fix this by editing the PKGBUILD"
39 # remove perllocal.pod and .packlist
40 find ${pkgdir} -name perllocal.pod -delete
41 find ${pkgdir} -name .packlist -delete
44 # vim:set ts=2 sw=2 et: