summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-mime-tools/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/abs/core/perl_modules/perl-mime-tools/PKGBUILD b/abs/core/perl_modules/perl-mime-tools/PKGBUILD
index 7ed81bb..d5e74a9 100644
--- a/abs/core/perl_modules/perl-mime-tools/PKGBUILD
+++ b/abs/core/perl_modules/perl-mime-tools/PKGBUILD
@@ -1,15 +1,17 @@
-# $Id: PKGBUILD 161352 2012-06-10 06:11:24Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# $Id$
+# Maintainer: Thore Bödecker <foxxx0@archlinux.org>
+# Conntributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-mime-tools
-pkgver=5.503
-pkgrel=1
+pkgver=5.509
+pkgrel=5
pkgdesc="Parses streams to create MIME entities"
arch=('any')
-url="http://search.cpan.org/dist/MIME-tools"
+url="https://metacpan.org/pod/MIME::Tools"
license=('GPL' 'PerlArtistic')
depends=('perl-mailtools' 'perl-io-stringy' 'perl-convert-binhex')
+checkdepends=('perl-test-deep')
options=('!emptydirs')
provides=('perl-mime-body=5.428.0' 'perl-mime-decoder' 'perl-mime-decoder-base64'
'perl-mime-decoder-binary' 'perl-mime-decoder-binhex' 'perl-mime-decoder-gzip64'
@@ -18,8 +20,8 @@ provides=('perl-mime-body=5.428.0' 'perl-mime-decoder' 'perl-mime-decoder-base64
'perl-mime-field-conttype=5.428.0' 'perl-mime-field-paramval=5.428.0' 'perl-mime-head=5.428.0'
'perl-mime-parser' 'perl-mime-parser-filer' 'perl-mime-parser-reader'
'perl-mime-parser-results' 'perl-mime-worddecoder' 'perl-mime-words=5.428.0')
-source=("http://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-${pkgver}.tar.gz")
-md5sums=('f86b968e9405318224b7a9f4574505d0')
+source=("https://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-${pkgver}.tar.gz")
+sha512sums=('0407b09916144eafbee0c75758306e0f44c27db0e8aabf033267f9903f676f0415de99927dcfdb69f9e9d4123d63c280f526dff92e0d97744761c888df90667a')
build() {
cd "${srcdir}/MIME-tools-${pkgver}"
@@ -28,10 +30,15 @@ build() {
make
}
+check() {
+ cd "${srcdir}/MIME-tools-${pkgver}"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+}
+
package() {
cd "${srcdir}/MIME-tools-${pkgver}"
- make install DESTDIR="${pkgdir}"
- find ${pkgdir} -name '.packlist' -delete
- find ${pkgdir} -name '*.pod' -delete
+ make install DESTDIR="${pkgdir}"
}