aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-email-date-format/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-email-date-format/APKBUILD b/main/perl-email-date-format/APKBUILD
new file mode 100644
index 0000000000..b35b77ca53
--- /dev/null
+++ b/main/perl-email-date-format/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-email-date-format
+_pkgreal=Email-Date-Format
+pkgver=1.002
+pkgrel=0
+pkgdesc="produce RFC 8822 date strings"
+url="http://search.cpan.org/dist/Email-Date-Format/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="7ae25275da6ab272aa8b40141eac9f82 Email-Date-Format-1.002.tar.gz"