[arch-commits] Commit in perl-date-calc/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 11:04:36 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:04:36
  Author: felixonmars
Revision: 446810

archrelease: copy trunk to staging-any

Added:
  perl-date-calc/repos/staging-any/
  perl-date-calc/repos/staging-any/PKGBUILD
    (from rev 446808, perl-date-calc/trunk/PKGBUILD)

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

Copied: perl-date-calc/repos/staging-any/PKGBUILD (from rev 446808, perl-date-calc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 11:04:36 UTC (rev 446810)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=perl-date-calc
+_realname=Date-Calc
+pkgver=6.4
+pkgrel=9
+pkgdesc="Perl module for Gregorian calendar date calculations"
+arch=(any)
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/Date-Calc/"
+depends=('perl-bit-vector' 'perl')
+options=(!emptydirs)
+source=(https://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Calc-$pkgver.tar.gz)
+md5sums=('69c635070d38c884682bfd4657031a8d')
+
+build() {
+  cd Date-Calc-$pkgver
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd Date-Calc-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list