summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-mime-lite
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-09-06 16:35:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-09-06 16:35:27 (GMT)
commit5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch)
treef13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-mime-lite
parent8d35f28049488f2585ef765bf48e7a58958fd587 (diff)
parent04697136037cb5341ee6c051f8aaa265c0400c82 (diff)
downloadlinhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip
linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz
linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-mime-lite')
-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