1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
4 pkgname=perl-email-mime
7 pkgdesc="Easy MIME message parsing"
9 url="https://search.cpan.org/dist/Email-MIME"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl-email-mime-encodings>=1.3' 'perl-mime-types>=1.13'
12 'perl-email-simple>=2.003' 'perl-email-mime-contenttype>=1.011'
13 'perl-email-messageid' 'perl-email-address-xs' 'perl-module-runtime')
14 provides=("perl-email-mime-creator=$pkgver" "perl-email-mime-modifier=$pkgver")
15 replaces=("perl-email-mime-creator" "perl-email-mime-modifier")
16 options=('!emptydirs')
17 source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-MIME-$pkgver.tar.gz)
18 sha256sums=('98fb067850699a224babc348f1cefe30d744c60da8902e7a5ce9d8b7e73df735')
21 cd "$srcdir"/Email-MIME-$pkgver
22 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
27 cd "$srcdir"/Email-MIME-$pkgver
28 make install DESTDIR="$pkgdir"
29 find "$pkgdir" -name '.packlist' -delete
30 find "$pkgdir" -name '*.pod' -delete