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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:33:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:33:41
  Author: felixonmars
Revision: 658945

archrelease: copy trunk to community-staging-any

Added:
  perl-datetime-locale/repos/community-staging-any/
  perl-datetime-locale/repos/community-staging-any/PKGBUILD
    (from rev 658944, perl-datetime-locale/trunk/PKGBUILD)

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

Copied: perl-datetime-locale/repos/community-staging-any/PKGBUILD (from rev 658944, perl-datetime-locale/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 15:33:41 UTC (rev 658945)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime-locale
+pkgver=1.22
+pkgrel=2
+pkgdesc="Localization support for DateTime.pm "
+arch=(any)
+url="https://search.cpan.org/dist/DateTime-Locale"
+license=('GPL' 'PerlArtistic')
+depends=('perl-params-validate' 'perl-list-moreutils'
+	 'perl-file-sharedir' 'perl-file-sharedir-install')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$pkgver.tar.gz)
+sha256sums=('757b3915c6b2aac89462c52fed36543f27dfb66abc98c895523d2ab95da65f94')
+
+build() {
+  cd  "$srcdir"/DateTime-Locale-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/DateTime-Locale-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


More information about the arch-commits mailing list