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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:19:00 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:18:59
  Author: foutrelis
Revision: 405486

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 405485, 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 405485, perl-datetime-format-w3cdtf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:18:59 UTC (rev 405486)
@@ -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=3
+pkgdesc="Parse and format W3CDTF datetime strings"
+arch=('any')
+url="http://search.cpan.org/dist/DateTime-Format-W3CDTF"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'perl-datetime')
+options=('!emptydirs')
+source=(http://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