1 # Generated by Xyne::Arch::CPAN 0.07
3 pkgname=perl-net-directconnect
6 pkgdesc="CPAN package (no description found)"
8 url="http://search.cpan.org/dist/Net-DirectConnect/"
10 source=('http://search.cpan.org/CPAN/authors/id/P/PR/PRO/Net-DirectConnect-0.06.tar.gz')
11 md5sums=('c78a009d46081d24d3451229d6d0ae2c')
12 sha256sums=('8d5cde174e63ab160c48a77ed6fcbff53db331a2c0af038f97b0f408be3448f6')
13 depends=('perl-dbd-sqlite' 'perl-dbi' 'perl-io-compress-bzip2' 'perl-mime-base32' 'perl-sys-sendfile' 'perl-time-hires')
14 makedepends=('perl-extutils-makemaker')
15 provides=('perl-net-directconnect-tigerhash=0.20.0' 'perl-psconn=4400' 'perl-psmisc=4412' 'perl-pssql=4414' 'perl-psweb=4413' 'perl-statlib')
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: