blob: b058c701c7b7d26f8dc3937d9c018f3f020bc464 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-email-sender
_pkgname=Email-Sender
pkgver=1.300031
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"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Sender-$pkgver.tar.gz"
builddir="$srcdir/Email-Sender-$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="72aa65d21df9b0a1fa52ba99c9c1c4a660142819ed9658eb2c2b74f1ab70257911af1f071524ecbb3917a7be1464b7a157792b5e03921788ce9f23a86e7874f1 Email-Sender-1.300031.tar.gz"
|