Date: Saturday, February 25, 2012 @ 08:17:16 Author: pierre Revision: 151298
archrelease: copy trunk to extra-any Added: perl-mime-lite/repos/extra-any/PKGBUILD (from rev 151297, perl-mime-lite/trunk/PKGBUILD) Deleted: perl-mime-lite/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2012-02-25 13:16:58 UTC (rev 151297) +++ PKGBUILD 2012-02-25 13:17:16 UTC (rev 151298) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: kevin <ke...@archlinux.org> -# Contributor: Eric Johnson <e...@coding-zone.com> - -pkgname=perl-mime-lite -_realname=MIME-Lite -pkgver=3.027 -pkgrel=2 -pkgdesc="Perl module that provides lightweight MIME generator" -arch=(any) -license=('GPL' 'PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -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') - -build() { - cd ${srcdir}/${_realname}-${pkgver} - # install module in vendor directories. - 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 -} -# vim: ts=2 sw=2 et ft=sh Copied: perl-mime-lite/repos/extra-any/PKGBUILD (from rev 151297, perl-mime-lite/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2012-02-25 13:17:16 UTC (rev 151298) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: kevin <ke...@archlinux.org> +# Contributor: Eric Johnson <e...@coding-zone.com> + +pkgname=perl-mime-lite +_realname=MIME-Lite +pkgver=3.028 +pkgrel=1 +pkgdesc="Perl module that provides lightweight MIME generator" +arch=('any') +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') + +build() { + cd ${srcdir}/${_realname}-${pkgver} + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd ${srcdir}/${_realname}-${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 +} +# vim: ts=2 sw=2 et ft=sh