pkgname=perl-mailtools pkgver=2.22 pkgrel=1 pkgdesc="Various e-mail related modules" arch=('x86_64') url="https://metacpan.org/release/MailTools" license=('GPL-1.0-or-later OR Artistic-1.0-Perl') depends=('perl-timedate') options=('!emptydirs') source=(https://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-${pkgver}.tar.gz) sha256sums=(3bf68bb212298fa699a52749dddff35583a74f36a92ca89c843b854f29d87c77) build() { cd MailTools-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } package() { cd MailTools-${pkgver} make DESTDIR=${pkgdir} install }