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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:25:01 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:25:00
  Author: felixonmars
Revision: 386290

archrelease: copy trunk to staging-any

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

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

Copied: perl-date-calc/repos/staging-any/PKGBUILD (from rev 386288, perl-date-calc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:25:00 UTC (rev 386290)
@@ -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=6
+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