summaryrefslogblamecommitdiff
path: root/user/perl-email-abstract/APKBUILD
blob: 2df402287a300a196e533651937ab5ac49b14a92 (plain) (tree)

































                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-email-abstract
_pkgname=Email-Abstract
pkgver=3.008
pkgrel=0
pkgdesc="Unified interface to email representations in Perl"
url="https://metacpan.org/release/Email-Abstract"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-email-simple perl-mro-compat perl-module-pluggable"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Abstract-$pkgver.tar.gz"
builddir="$srcdir/Email-Abstract-$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="efead64612562fb9d644fa830b2f29e0701af0f3ddeb118992badff7c7a45cb569ad4644a7b226cc625cdabfb3f5db155284eb68042928265bfc5c230f4bf40a  Email-Abstract-3.008.tar.gz"