1 # Maintainer: Techlivezheng <techlivezheng [at] gmail [dot] com>
2 # Contributor: Piotr Beling <qwak [at] stud [at] ics [dot] p [dot] lodz [dot] pl>
3 # Contributor: Wael Nasreddine <wael [at] phoenixlinux [dot] org>
4 # Contributor: Guillermo A. Amaral <me [at] guillermoamaral [dot] com> (thewonka)
5 # Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
7 pkgname='perl-convert-tnef'
10 pkgdesc='Perl module to read TNEF files.'
12 url='http://search.cpan.org/~dougw/Convert-TNEF-0.17/'
14 depends=('perl>=5.10.0' 'perl-io-stringy' 'perl-mime-tools')
16 install="${pkgname}.install"
17 source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-$pkgver.tar.gz")
18 md5sums=('31cddf42fae9495b4a686b17ec68d7e0')
22 cd "$srcdir/Convert-TNEF-$pkgver"
24 # install module in vendor directories.
25 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
27 make install DESTDIR="$pkgdir/" || return 1
29 # remove perllocal.pod and .packlist
30 find "$pkgdir" -name perllocal.pod -delete
31 find "$pkgdir" -name .packlist -delete