# Maintainer: François Charette pkgname=perl-mime-tools pkgver=5.427 pkgrel=1 pkgdesc="Parses streams to create MIME entities" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/MIME-tools" license=('GPL' 'PerlArtistic') depends=('perl-mailtools' 'perl-io-stringy>=2.11' 'perl>=5.10.0') options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DO/DONEILL/MIME-tools-$pkgver.tar.gz) md5sums=('4333caa7238cb9eafb5f7fb39fcbd8e7') build() { cd $srcdir/MIME-tools-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$pkgdir || return 1 find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete }