diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-31 15:49:37 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-31 15:49:37 (GMT) |
commit | 4998b21c09f87251e0d64ab7160dbde6a8562dd9 (patch) | |
tree | 0080574df859b59991b609264ee0bd6bccfeec5e /abs | |
parent | 3876ee2d2299b3be5186b6c0e8d5691780b72a6c (diff) | |
download | linhes_pkgbuild-4998b21c09f87251e0d64ab7160dbde6a8562dd9.zip linhes_pkgbuild-4998b21c09f87251e0d64ab7160dbde6a8562dd9.tar.gz linhes_pkgbuild-4998b21c09f87251e0d64ab7160dbde6a8562dd9.tar.bz2 |
perl-mime-tools: update to 5.509
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-mime-tools/PKGBUILD | 27 |
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}" } |