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

Felix Yan felixonmars at archlinux.org
Sat May 25 11:35:26 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:35:25
  Author: felixonmars
Revision: 470384

archrelease: copy trunk to community-staging-any

Added:
  perl-datetime-format-strptime/repos/community-staging-any/
  perl-datetime-format-strptime/repos/community-staging-any/PKGBUILD
    (from rev 470383, perl-datetime-format-strptime/trunk/PKGBUILD)

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

Copied: perl-datetime-format-strptime/repos/community-staging-any/PKGBUILD (from rev 470383, perl-datetime-format-strptime/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:35:25 UTC (rev 470384)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Caleb Cushing <xenoterracide at gmail.com>
+
+pkgname=perl-datetime-format-strptime
+pkgver=1.75
+pkgrel=3
+pkgdesc="Parse and Format DateTimes using Strptime"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-datetime>=0.72' 'perl-datetime-locale>=0.45'
+	 'perl-datetime-timezone>=0.79' 'perl-params-validate>=0.64'
+	 'perl-package-deprecationmanager')
+url="https://search.cpan.org/dist/DateTime-Format-Strptime"
+source=("https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-${pkgver}.tar.gz")
+sha256sums=('4fcfb2ac4f79d7ff2855a405f39050d2ea691ee098ce54ede8af79c8d6ab3c19')
+
+build() {
+  export PERL_MM_USE_DEFAULT=1
+  cd "${srcdir}/DateTime-Format-Strptime-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "${srcdir}/DateTime-Format-Strptime-${pkgver}"
+  make DESTDIR="$pkgdir" install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list