[arch-commits] Commit in perl-datetime-format-mail/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:42:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:42:40
  Author: felixonmars
Revision: 659374

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-datetime-format-mail/repos/community-staging-x86_64/
  perl-datetime-format-mail/repos/community-staging-x86_64/PKGBUILD
    (from rev 659372, perl-datetime-format-mail/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: perl-datetime-format-mail/repos/community-staging-x86_64/PKGBUILD (from rev 659372, perl-datetime-format-mail/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:42:40 UTC (rev 659374)
@@ -0,0 +1,26 @@
+# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime-format-mail
+pkgver=0.403
+pkgrel=4
+pkgdesc="Convert between DateTime and RFC2822/822 formats "
+arch=('x86_64')
+url="https://search.cpan.org/dist/DateTime-Format-Mail"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-datetime' 'perl-params-validate>=0.67')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-$pkgver.tar.gz")
+md5sums=('b34a52d96290c42cf53e8db0a8f16ecd')
+
+build() {
+  cd  "$srcdir"/DateTime-Format-Mail-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
+  make
+}
+package() {
+  cd  "$srcdir"/DateTime-Format-Mail-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list