Advertisement
Guest User

perl-convert-tnef PKGBUILD

a guest
Feb 3rd, 2011
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.05 KB | None | 0 0
  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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement