SHARE
TWEET

Untitled

a guest May 2nd, 2010 212 Never
  1. # Contributor: Jakub Fišer <mr@MikyMaus.org>
  2.  
  3. pkgname='perl-convert-binhex'
  4. pkgver='1.119'
  5. pkgrel='1'
  6. pkgdesc='Perl module to extract data from Macintosh BinHex files'
  7. url='http://search.cpan.org/~eryq/Convert-BinHex-1.119/'
  8. arch=('any')
  9. depends=('perl>=5.8.4')
  10. source=("http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-$pkgver.tar.gz");
  11. md5sums=('ba70ad1772abac6270078f28197a7961')
  12. install="${pkgname}.install"
  13. license=('unknown')
  14.  
  15. build()
  16. {
  17.  
  18.         cd ${startdir}/src/Convert-BinHex-${pkgver}
  19.  
  20.         eval $(perl -V:archname)
  21.  
  22.         perl Makefile.PL INSTALLARCHLIB=/usr/lib/perl5/current/${archname} INSTALLSITELIB=/usr/lib/perl5/site_perl/current INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
  23.  
  24.         make || return 1
  25.  
  26.         make DESTDIR=${startdir}/pkg install || return 1
  27.  
  28.         find ${startdir}/pkg -name '.packlist' -exec rm -f {} \;
  29.         find ${startdir}/pkg -name 'perllocal.pod' -exec rm -f {} \;
  30.  
  31. }
RAW Paste Data
Top