summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-mime-lite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-mime-lite/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-mime-lite/PKGBUILD29
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