1 # Generated by Xyne::Arch::CPAN 0.07
6 pkgdesc="IO::All of it to Graham and Damian!"
8 url="http://search.cpan.org/dist/IO-All/"
10 source=("http://search.cpan.org/CPAN/authors/id/I/IN/INGY/IO-All-$pkgver.tar.gz")
11 depends=('perl-io-string' 'perl>=5.6.1')
12 makedepends=('perl-extutils-makemaker>=6.42.0')
13 provides=('perl-io-all-base' 'perl-io-all-dbm' 'perl-io-all-dir' 'perl-io-all-file' 'perl-io-all-filesys' 'perl-io-all-link' 'perl-io-all-mldbm' 'perl-io-all-pipe' 'perl-io-all-socket' 'perl-io-all-stdio' 'perl-io-all-string' 'perl-io-all-temp')
17 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
18 if [ ! -z "$_dir" ]; then
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make install DESTDIR="${pkgdir}" || return 1
25 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
26 if [ ! -z "$_dir" ]; then
28 PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
30 ./Build install destdir=${pkgdir} || return 1
33 echo "error: failed to detect build method for $pkgname"
34 echo "you may be able to fix this by editing the PKGBUILD"
38 # remove perllocal.pod and .packlist
39 find ${pkgdir} -name perllocal.pod -delete
40 find ${pkgdir} -name .packlist -delete
43 # vim:set ts=2 sw=2 et:
45 md5sums=('95c050d189ead7cbf84f46c3577cef4c')