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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 21:23:08 UTC 2018


    Date: Friday, November 9, 2018 @ 21:23:08
  Author: foutrelis
Revision: 404616

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-datetime-format-iso8601/repos/community-staging-any/PKGBUILD (from rev 404615, perl-datetime-format-iso8601/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 21:23:08 UTC (rev 404616)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+
+pkgname=perl-datetime-format-iso8601
+pkgver=0.08
+pkgrel=4
+pkgdesc="Parses ISO8601 formats"
+arch=('any')
+url="http://search.cpan.org/dist/DateTime-Format-ISO8601/"
+license=('PerlArtistic')
+depends=('perl-datetime-format-builder' 'perl-datetime')
+makedepends=()
+optdepends=('perl-file-find-rule'
+            'perl-test-pod')
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-$pkgver.tar.gz")
+md5sums=('b7c0a4b5e767a8d3b87f3dc678d8c30c')
+
+build() {
+  cd "$srcdir"/DateTime-Format-ISO8601-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/DateTime-Format-ISO8601-$pkgver
+  make install DESTDIR="${pkgdir}"
+  find "$pkgdir" -name perllocal.pod -delete
+  find "$pkgdir" -name .packlist -delete
+}


More information about the arch-commits mailing list