Date: Friday, February 18, 2011 @ 11:47:07 Author: kevin Revision: 110280
upgpkg: perl-mime-lite 3.027-2 Fixed FS#21399, missing perl-email-date-format dependency Modified: perl-mime-lite/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-02-18 16:33:22 UTC (rev 110279) +++ PKGBUILD 2011-02-18 16:47:07 UTC (rev 110280) @@ -1,16 +1,16 @@ # $Id$ -# Maintainer: eric <[email protected]> +# Maintainer: kevin <[email protected]> # Contributor: Eric Johnson <[email protected]> pkgname=perl-mime-lite _realname=MIME-Lite pkgver=3.027 -pkgrel=1 +pkgrel=2 pkgdesc="Perl module that provides lightweight MIME generator" arch=(any) license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl-mailtools' 'perl-mime-types' 'perl>=5.10.0') +depends=('perl-email-date-format' 'perl-mailtools' 'perl-mime-types' 'perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz) md5sums=('e857febd66c45f2a5919b031fbe70aa7') @@ -18,10 +18,15 @@ build() { cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${pkgdir} || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + 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
