From 3876ee2d2299b3be5186b6c0e8d5691780b72a6c Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 15:48:16 +0000 Subject: perl-mime-lite: update to 3.030 --- abs/core/perl_modules/perl-mime-lite/PKGBUILD | 29 ++++++++++----------------- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/abs/core/perl_modules/perl-mime-lite/PKGBUILD b/abs/core/perl_modules/perl-mime-lite/PKGBUILD index c0cfe7f..4685a91 100644 --- a/abs/core/perl_modules/perl-mime-lite/PKGBUILD +++ b/abs/core/perl_modules/perl-mime-lite/PKGBUILD @@ -1,38 +1,31 @@ -# $Id: PKGBUILD 151298 2012-02-25 13:17:16Z pierre $ +# $Id$ # Maintainer: kevin # Contributor: Eric Johnson pkgname=perl-mime-lite -_realname=MIME-Lite -pkgver=3.028 -pkgrel=1 +pkgver=3.030 +pkgrel=3 pkgdesc="Perl module that provides lightweight MIME generator" arch=('any') +url="http://search.cpan.org/dist/MIME-Lite/" license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" depends=('perl-email-date-format' 'perl-mailtools' 'perl-mime-types' 'perl') options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz") -md5sums=('b24770b664db269a2a6e984f66c19fa7') +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/MIME-Lite-${pkgver}.tar.gz") +md5sums=('5a6d90329e049eee77248d667343acc7') build() { - cd ${srcdir}/${_realname}-${pkgver} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd MIME-Lite-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd ${srcdir}/${_realname}-${pkgver} + cd MIME-Lite-${pkgver} make test } package() { - cd ${srcdir}/${_realname}-${pkgver} - make install DESTDIR=${pkgdir} - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + cd MIME-Lite-${pkgver} + make DESTDIR="${pkgdir}" install } -# vim: ts=2 sw=2 et ft=sh -- cgit v0.12