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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 09:47:16 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:47:16
  Author: foutrelis
Revision: 330131

archrelease: copy trunk to staging-any

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

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

Copied: perl-date-calc/repos/staging-any/PKGBUILD (from rev 330130, perl-date-calc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:47:16 UTC (rev 330131)
@@ -0,0 +1,29 @@
+# $Id$
+# 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=4
+pkgdesc="Perl module for Gregorian calendar date calculations"
+arch=(any)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-bit-vector' 'perl')
+options=(!emptydirs)
+source=(http://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