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



                               
            



                                                            
                                       
                                                                      

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-email-abstract
_pkgreal=Email-Abstract
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.009
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-1.0+"
depends="perl 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="e2c2a497d942ef56d723ab109f8844f840bc14a4a23ae0febea32f6ce814b943ac0599dfce0a17c24d6631826240d8692592292a1c4f1fcc599c1983b37e0705  Email-Abstract-3.009.tar.gz"