Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 27th, 2011  |  syntax: None  |  size: 1.54 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # CPAN Name  : Catalyst-Model-DBIC-Schema
  2. # Contributor: Caleb Cushing <xenoterracide@gmail.com>
  3. # Generator  : CPANPLUS::Dist::Arch 1.04
  4. # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-catalyst-model-dbic-schema/PKGBUILD.tt
  5. # File bugs @ http://github.com/xenoterracide/AURpan/issues
  6.  
  7. pkgname='perl-catalyst-model-dbic-schema'
  8. pkgver='0.55'
  9. pkgrel='1'
  10. pkgdesc="DBIx::Class model for Catalyst"
  11. arch=('any')
  12. url='http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema'
  13. license=('PerlArtistic' 'GPL')
  14. depends=('perl' 'perl-carp-clan' 'perl-catalyst-devel>=1.0' 'perl-catalyst-runtime>=5.80005' 'perl-catalystx-component-traits>=0.14' 'perl-dbix-class>=0.08114' 'perl-list-moreutils' 'perl-moose>=0.90' 'perl-moosex-types' 'perl-namespace-autoclean' 'perl-namespace-clean' 'perl-test-exception' 'perl-tie-ixhash')
  15.  
  16.  
  17. options=('!emptydirs')
  18.  
  19. source=('http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Catalyst-Model-DBIC-Schema-0.55.tar.gz')
  20. md5sums=('fd020db6ac8966e6a7a942dcafe6ebbf')
  21.  
  22. build() {
  23.   DIST_DIR="${srcdir}/Catalyst-Model-DBIC-Schema-0.55"
  24.   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
  25.     PERL_AUTOINSTALL=--skipdeps                            \
  26.     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
  27.     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
  28.     MODULEBUILDRC=/dev/null
  29.   {
  30.         cd "$DIST_DIR" &&
  31.     perl Makefile.PL &&
  32.     make &&
  33.     make test &&
  34.     make DESTDIR="$pkgdir" install;
  35.   } || return 1;
  36.  
  37.   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
  38.  
  39. }
  40.  
  41.  
clone this paste RAW Paste Data