blob: d5e74a90bf5accb5ba61eab124e459a44292c128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $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.509
pkgrel=5
pkgdesc="Parses streams to create MIME entities"
arch=('any')
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'
'perl-mime-decoder-nbit' 'perl-mime-decoder-quotedprint' 'perl-mime-decoder-uu'
'perl-mime-entity' 'perl-mime-field-contdisp=5.428.0' 'perl-mime-field-contraenc=5.428.0'
'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=("https://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-${pkgver}.tar.gz")
sha512sums=('0407b09916144eafbee0c75758306e0f44c27db0e8aabf033267f9903f676f0415de99927dcfdb69f9e9d4123d63c280f526dff92e0d97744761c888df90667a')
build() {
cd "${srcdir}/MIME-tools-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
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}"
}
|