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


                                                                   



                               
               







                                                                  
                           

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-email-sender
_pkgreal=Email-Sender
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.300034
pkgrel=0
pkgdesc="Library for sending email"
url="https://metacpan.org/release/Email-Sender"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-capture-tiny perl-email-abstract perl-email-address
	perl-email-simple perl-module-runtime perl-moo
	perl-moox-types-mooselike perl-sub-exporter perl-throwable
	perl-try-tiny perl"
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="cd19fc1df95b1c651b8612512f3baf860d00a74121e03e3408dffb15dba19ab77fc7522a4f6c832b8a0e59a0c57752689a36e1e2a48eb2988a5ee96e7f997021  Email-Sender-1.300034.tar.gz"