summaryrefslogblamecommitdiff
path: root/user/perl-email-abstract/APKBUILD
blob: 2bc86565033dc1145658d0c971997675cebac367 (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               







                                                                 
                                                                                        
         



                                                                 


                 



                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-email-abstract
_pkgreal=Email-Abstract
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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/$_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="efead64612562fb9d644fa830b2f29e0701af0f3ddeb118992badff7c7a45cb569ad4644a7b226cc625cdabfb3f5db155284eb68042928265bfc5c230f4bf40a  Email-Abstract-3.008.tar.gz"