summaryrefslogtreecommitdiff
path: root/user/perl-email-date-format
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:04:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 23:04:15 +0000
commit5a5635672fb66cfbfc175c8f425aa20947a37a4d (patch)
treea36f558a3b297f034aaf310807b262d6c1c92fbc /user/perl-email-date-format
parent8f33f74783143987e749bcaf13331d78287ea082 (diff)
downloadpackages-5a5635672fb66cfbfc175c8f425aa20947a37a4d.tar.gz
packages-5a5635672fb66cfbfc175c8f425aa20947a37a4d.tar.bz2
packages-5a5635672fb66cfbfc175c8f425aa20947a37a4d.tar.xz
packages-5a5635672fb66cfbfc175c8f425aa20947a37a4d.zip
user/perl-email-date-format: new package
Diffstat (limited to 'user/perl-email-date-format')
-rw-r--r--user/perl-email-date-format/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-email-date-format/APKBUILD b/user/perl-email-date-format/APKBUILD
new file mode 100644
index 000000000..fb41a6fed
--- /dev/null
+++ b/user/perl-email-date-format/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-email-date-format
+_pkgname=Email-Date-Format
+pkgver=1.005
+pkgrel=0
+pkgdesc="Produce RFC 2822 date strings in Perl"
+url="https://metacpan.org/release/Email-Date-Format"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Date-Format-$pkgver.tar.gz"
+builddir="$srcdir/Email-Date-Format-$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="23daefa45874211f053d05ac3c3f3c7c3a86d9b623fdcec3bd9f6f7b4c8e5ad1ac8038146bdc85cc950b21b43b0ad843f8a52ad2183d868d3a62ea96292e34ca Email-Date-Format-1.005.tar.gz"