blob: 17ad0f37954e2ddf51179a82eab0941c5d50bae2 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-email-mime-encodings
_pkgname=Email-MIME-Encodings
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-2.0-only"
depends="perl-capture-tiny"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MIME-Encodings-$pkgver.tar.gz"
builddir="$srcdir/Email-MIME-Encodings-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="4cd787e099617b70963c8ef6372e2a16038c61170fdd343aad88a024ecd15c789fd2c8cc19830c3518b6648e428301eed1ae20f496fa97afbdd8bb7f3ae432aa Email-MIME-Encodings-1.315.tar.gz"
|