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

Felix Yan felixonmars at archlinux.org
Sat Aug 26 18:38:14 UTC 2017


    Date: Saturday, August 26, 2017 @ 18:38:14
  Author: felixonmars
Revision: 254300

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 254299, 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 254299, perl-datetime-format-strptime/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 18:38:14 UTC (rev 254300)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Caleb Cushing <xenoterracide at gmail.com>
+
+pkgname=perl-datetime-format-strptime
+pkgver=1.73
+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')
+url="http://search.cpan.org/dist/DateTime-Format-Strptime"
+source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-${pkgver}.tar.gz")
+sha256sums=('6d077806eb8581e5f28ffaff0bd2bb7a15114f9e745f61bd519405047765b2be')
+
+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