New Paste

 

Recent Pastes

Administrate




Pastebin on paste.luisaranguren.com

PasteID: 5xq
Pasted by Anonymous, 2019-12-16 08:35:18 GMT
Expires Never
Paste size 1.39 Kb
Tools Raw   Download
 
  1. # Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>  
  2. # Generator  : CPANPLUS::Dist::Arch 1.25  
  3.   
  4. pkgname='perl-class-mix'  
  5. pkgver='0.006'  
  6. pkgrel='1'  
  7. pkgdesc="dynamic class mixing"  
  8. arch=('any')  
  9. license=('PerlArtistic' 'GPL')  
  10. options=('!emptydirs')  
  11. depends=('perl>=5.006' 'perl-params-classify' 'perl-module-build')  
  12. makedepends=()  
  13. url='http://search.cpan.org/dist/Class-Mix'  
  14. source=('http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Class-Mix-0.006.tar.gz')  
  15. md5sums=('14f9d08abf878afc1592f3861cf98be4')  
  16. _distdir="Class-Mix-0.006"  
  17.   
  18. build() {  
  19.   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \  
  20.       PERL_AUTOINSTALL=--skipdeps                            \  
  21.       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \  
  22.       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \  
  23.       MODULEBUILDRC=/dev/null  
  24.   
  25.     cd "$srcdir/$_distdir"  
  26.     /usr/bin/perl Build.PL  
  27.     ./Build  
  28.   )  
  29. }  
  30.   
  31. check() {  
  32.   cd "$srcdir/$_distdir"  
  33.   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""  
  34.     ./Build test  
  35.   )  
  36. }  
  37.   
  38. package() {  
  39.   cd "$srcdir/$_distdir"  
  40.   ./Build install  
  41.   
  42.   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete  
  43. }  
  44.   
  45. # Local Variables:  
  46. # mode: shell-script  
  47. # sh-basic-offset: 2  
  48. # End:  
  49. # vim:set ts=2 sw=2 et:  
  50.  
 
 
 
 
Written by Xan Manning, 2010.