1 # Generated by Xyne::Arch::CPAN 0.07
6 pkgdesc="CPAN package (no description found)"
8 url="http://search.cpan.org/dist/SWF-File/"
10 source=('http://search.cpan.org/CPAN/authors/id/Y/YS/YSAS/SWF-File-0.42.tar.gz')
11 md5sums=('7319b35179edd24958fe1a92be8b3a0b')
12 sha256sums=('3f79640f8513a90c84c1d71f4306ad9fcaa034caa84385fa2bff45cf6a03a7c4')
13 depends=('perl-compress-zlib' 'perl-data-temporarybag>=0.80.0')
14 provides=('perl-swf-binstream-codec-zlib=0.10.0' 'perl-swf-binstream-file=0.43.0' 'perl-swf-binstream=0.110.0' 'perl-swf-element=0.420.0' 'perl-swf-parser=0.110.0')
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: