blob: 1ed84165f21b01efe81a401014a2142612d20e26 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-mime
_pkgreal=Email-MIME
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.953
pkgrel=0
pkgdesc="Easy MIME message handling for Perl"
url="https://metacpan.org/release/Email-MIME"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-email-address-xs perl-email-messageid perl-email-mime-contenttype
perl-email-mime-encodings perl-email-simple perl-mime-types
perl-module-runtime perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="d88704c7f0173198f94180da81beacaad6ea675e3fcd525f92df7c06a85df8664295c63f71ad6aa14ec517f101f23449e6c3818bbd951c1257b8d0080530c5f7 Email-MIME-1.953.tar.gz"
|