This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 27th, 2011  |  syntax: None  |  size: 1.15 KB  |  views: 52  |  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  : SQL-Translator
  2. # Contributor: Caleb Cushing <xenoterracide@gmail.com>
  3. # Generator  : CPANPLUS::Dist::Arch 0.18
  4. pkgname='perl-sql-translator'
  5. pkgver='0.11009'
  6. pkgrel='1'
  7. pkgdesc="Convert RDBMS SQL CREATE syntax."
  8. arch=('i686' 'x86_64')
  9. license=('PerlArtistic' 'GPL')
  10. options=('!emptydirs')
  11. depends=('perl' 'perl-carp-clan' 'perl-class-accessor' 'perl-class-base' 'perl-class-data-inheritable>=0.02' 'perl-class-makemethods' 'perl-dbi' 'perl-digest-sha1>=2' 'perl-file-sharedir>=1' 'perl-io-stringy>=2.11' 'perl-parse-recdescent>=1.962002' 'perl-test-differences' 'perl-test-exception' 'perl-xml-writer>=0.5' 'perl-yaml>=0.66' 'perl-moo>=0.009007')
  12. url='http://search.cpan.org/dist/SQL-Translator'
  13. source=('http://search.cpan.org/CPAN/authors/id/J/JR/JROBINSON/SQL-Translator-0.11009.tar.gz')
  14. md5sums=('11bfa05f85fd8b25c4e872289c4dfd7b')
  15.  
  16. build() {
  17.   DIST_DIR="${srcdir}/SQL-Translator-0.11009"
  18.   export PERL_MM_USE_DEFAULT=1
  19.   { cd "$DIST_DIR" &&
  20.     perl Makefile.PL INSTALLDIRS=vendor &&
  21.     make &&
  22.     make test &&
  23.     make DESTDIR="$pkgdir" install;
  24.   } || return 1;
  25.  
  26.   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
  27. }
  28.  
clone this paste RAW Paste Data