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

perl-convert-tnef PKGBUILD

By: a guest on Feb 3rd, 2011  |  syntax: Bash  |  size: 1.05 KB  |  views: 87  |  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. # Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
  2. # Contributor: Wael Nasreddine <wael@phoenixlinux.org>
  3. # Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
  4. # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
  5.  
  6. pkgname='perl-convert-tnef'
  7. pkgver='0.17'
  8. pkgrel='3'
  9. pkgdesc='Perl module to read TNEF files'
  10. arch=('any')
  11. url='http://search.cpan.org/~dougw/Convert-TNEF-0.17/'
  12. license=()
  13. depends=('perl>=5.10.0' 'perl-io-stringy' 'perl-mime-tools')
  14. options=(!emptydirs)
  15. install="${pkgname}.install"
  16. source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-${pkgver}.tar.gz")
  17. md5sums=('31cddf42fae9495b4a686b17ec68d7e0')
  18.  
  19. build()
  20. {
  21.   cd "$srcdir/Convert-TNEF-$pkgver"
  22.  
  23.   # install module in vendor directories.
  24.   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
  25.   make || return 1
  26.   make install DESTDIR="$pkgdir/" || return 1
  27.  
  28.   # remove perllocal.pod and .packlist
  29.   find "$pkgdir" -name perllocal.pod -delete
  30.   find "$pkgdir" -name .packlist -delete
  31. }
  32.  
  33. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data