summaryrefslogblamecommitdiff
path: root/user/perl-email-sender/APKBUILD
blob: ae7d44e50f55294b29a627bb0c1dd8cd82f69a5e (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-sender
_pkgreal=Email-Sender
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.500
pkgrel=0
pkgdesc="Library for sending email"
url="https://metacpan.org/release/Email-Sender"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
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="d7b9848ed7e218abaa9a47ef3c3f79f5fdd728a67795904655ad4df4b536f1df40bf80e0b6838112e26e71d56341e88b6044e6867fc351d41918b117a52ebbf3  Email-Sender-2.500.tar.gz"