diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-31 15:48:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-31 15:48:16 (GMT) |
commit | 3876ee2d2299b3be5186b6c0e8d5691780b72a6c (patch) | |
tree | 54c8545fd360b2287342a23ded21ebf342977834 /abs/core/perl_modules/perl-mime-lite | |
parent | 0920d155f392e631f8fc8ef32b8014a0f0b1c6fe (diff) | |
download | linhes_pkgbuild-3876ee2d2299b3be5186b6c0e8d5691780b72a6c.zip linhes_pkgbuild-3876ee2d2299b3be5186b6c0e8d5691780b72a6c.tar.gz linhes_pkgbuild-3876ee2d2299b3be5186b6c0e8d5691780b72a6c.tar.bz2 |
perl-mime-lite: update to 3.030
Diffstat (limited to 'abs/core/perl_modules/perl-mime-lite')
-rw-r--r-- | abs/core/perl_modules/perl-mime-lite/PKGBUILD | 29 |
1 files 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 <kevin@archlinux.org> # Contributor: Eric Johnson <eric@coding-zone.com> 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 |