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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 17:43:52 UTC 2017


    Date: Thursday, June 1, 2017 @ 17:43:51
  Author: bluewind
Revision: 297295

archrelease: copy trunk to staging-any

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

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

Copied: perl-date-calc/repos/staging-any/PKGBUILD (from rev 297294, perl-date-calc/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2017-06-01 17:43:51 UTC (rev 297295)
@@ -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=2
+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