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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:50:27 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:50:26
  Author: foutrelis
Revision: 354159

archrelease: copy trunk to staging-any

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

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

Copied: perl-date-calc/repos/staging-any/PKGBUILD (from rev 354158, perl-date-calc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:50:26 UTC (rev 354159)
@@ -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=5
+pkgdesc="Perl module for Gregorian calendar date calculations"
+arch=(any)
+license=('PerlArtistic')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl-bit-vector' 'perl')
+options=(!emptydirs)
+source=(https://search.cpan.org/CPAN/authors/id/S/ST/STBEY/${_realname}-${pkgver}.tar.gz)
+md5sums=('69c635070d38c884682bfd4657031a8d')
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make install DESTDIR=${pkgdir}
+}


More information about the arch-commits mailing list