1 # Generated by Xyne::Arch::CPAN 0.07
6 pkgdesc="Convert POD data to various other formats"
8 url="http://search.cpan.org/dist/podlators/"
10 source=('http://search.cpan.org/CPAN/authors/id/R/RR/RRA/podlators-2.3.1.tar.gz')
11 md5sums=('ec01b306c60a5bea04b533f12ce63742')
12 sha256sums=('20238600f4aa4b4f88bb6ec436601fbf5de5d8094c4e24f11722c83d979b6ef0')
13 depends=('perl-file-spec>=0.800.0' 'perl-pod-simple>=3.60.0')
14 makedepends=('perl-extutils-makemaker')
15 provides=('perl-pod-man=2.230.0' 'perl-pod-parselink=1.100.0' 'perl-pod-text-color=2.60.0' 'perl-pod-text-overstrike=2.40.0' 'perl-pod-text-termcap=2.60.0' 'perl-pod-text=3.140.0')
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: