diff options
Diffstat (limited to 'user/perl-email-date-format')
-rw-r--r-- | user/perl-email-date-format/APKBUILD | 34 |
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" |