blob: 1d346e4c8fb93bfdccaed7bb689619026d4e0989 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-mime-encodings
_pkgreal=Email-MIME-Encodings
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.315
pkgrel=0
pkgdesc="Unified interface to MIME codecs for Perl"
url="https://metacpan.org/release/Email-MIME-Encodings"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-capture-tiny"
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="4cd787e099617b70963c8ef6372e2a16038c61170fdd343aad88a024ecd15c789fd2c8cc19830c3518b6648e428301eed1ae20f496fa97afbdd8bb7f3ae432aa Email-MIME-Encodings-1.315.tar.gz"
|