1 # Generated by Xyne::Arch::CPAN 0.07
6 pkgdesc="CPAN package (no description found)"
8 url="http://search.cpan.org/dist/AMF-Perl/"
10 source=('http://search.cpan.org/CPAN/authors/id/S/SI/SIMONF/AMF-Perl-0.15.tar.gz')
11 md5sums=('653fd3f7c9d67c6ef7d78cea0545be8c')
12 sha256sums=('054e607dc66f239461ed328464e51cd6ad61598ba1d1868f3639e1739d9be478')
13 depends=('perl-dbi>=0.10.0' 'perl-encode>=0.10.0' 'perl-exception-class>=0.10.0')
14 provides=('perl-amf-perl-app-executive' 'perl-amf-perl-io-deserializer' 'perl-amf-perl-io-inputstream' 'perl-amf-perl-io-outputstream' 'perl-amf-perl-io-serializer' 'perl-amf-perl-sql-mysqlrecordset' 'perl-amf-perl-util-object' 'perl-amf-perl-util-remotingservice' 'perl-dataecho' 'perl-parkservice' 'perl-petmarket-api-cartservice' 'perl-petmarket-api-catalogservice' 'perl-petmarket-api-dbconn' 'perl-petmarket-api-orderservice' 'perl-petmarket-api-stringresourcesservice' 'perl-petmarket-api-userservice')
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: