summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:42:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:42:05 +0000
commit8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5 (patch)
tree0e8713ea22692d51b6ad0fee511c80077b20c94c /user
parente3d75e427bc30bcb6107d4d3981c4fc131616287 (diff)
downloadpackages-8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5.tar.gz
packages-8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5.tar.bz2
packages-8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5.tar.xz
packages-8b513e5913f90a3ee9b975ceaf1d3fcbfd0f5fa5.zip
user/perl-email-sender: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-email-sender/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/perl-email-sender/APKBUILD b/user/perl-email-sender/APKBUILD
new file mode 100644
index 000000000..b058c701c
--- /dev/null
+++ b/user/perl-email-sender/APKBUILD
@@ -0,0 +1,37 @@
+# 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"