# Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
# Contributor: Wael Nasreddine <wael@phoenixlinux.org>
# Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
pkgname='perl-convert-tnef'
pkgver='0.17'
pkgrel='3'
pkgdesc='Perl module to read TNEF files'
arch=('any')
url='http://search.cpan.org/~dougw/Convert-TNEF-0.17/'
license=()
depends=('perl>=5.10.0' 'perl-io-stringy' 'perl-mime-tools')
options=(!emptydirs)
install="${pkgname}.install"
source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-${pkgver}.tar.gz")
md5sums=('31cddf42fae9495b4a686b17ec68d7e0')
build()
{
cd "$srcdir/Convert-TNEF-$pkgver"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR="$pkgdir/" || return 1
# remove perllocal.pod and .packlist
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
# vim:set ts=2 sw=2 et: