# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Contributor: Sergej Pupykin pkgname=perl-email-mime pkgver=1.863 pkgrel=1 pkgdesc="Easy MIME message parsing. " arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Email-MIME" license=('GPL' 'PerlArtistic') depends=('perl-email-mime-encodings>=1.3' 'perl-mime-types>=1.13' 'perl-email-simple>=2.003' 'perl-email-mime-contenttype>=1.011') options=('!emptydirs') source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-$pkgver.tar.gz) build() { cd $startdir/src/Email-MIME-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete } md5sums=('339b0a09fab042c1f9a6292a220b333d')