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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:10:34 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:10:34
  Author: felixonmars
Revision: 658740

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-datetime-format-w3cdtf/repos/community-staging-any/PKGBUILD (from rev 658739, perl-datetime-format-w3cdtf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 14:10:34 UTC (rev 658740)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime-format-w3cdtf
+pkgver=0.07
+pkgrel=4
+pkgdesc="Parse and format W3CDTF datetime strings"
+arch=('any')
+url="https://search.cpan.org/dist/DateTime-Format-W3CDTF"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-datetime')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-$pkgver.tar.gz)
+sha256sums=('69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268')
+
+build() {
+  cd  "$srcdir"/DateTime-Format-W3CDTF-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/DateTime-Format-W3CDTF-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list