1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
3 pkgname='perl-mail-message'
6 pkgdesc="container for MIME-encoded message information"
8 license=('PerlArtistic' 'GPL')
10 depends=('perl' 'perl-user-identity' 'perl-mailtools' 'perl-mime-types'
11 'perl-io-stringy' 'perl-uri')
13 url='https://search.mcpan.org/dist/Mail-Message'
14 source=("https://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Mail-Message-$pkgver.tar.gz")
15 sha256sums=('e92b0020e0cb11cca92f93df9dd32441d78b84a3c4b72094c0a70310253cac9e')
18 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
19 PERL_AUTOINSTALL=--skipdeps \
20 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
21 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
22 MODULEBUILDRC=/dev/null
24 cd "$srcdir/Mail-Message-$pkgver"
25 /usr/bin/perl Makefile.PL
31 cd "$srcdir/Mail-Message-$pkgver"
33 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
39 cd "$srcdir/Mail-Message-$pkgver"
41 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete