[arch-commits] Commit in perl-datetime-calendar-julian/repos (2 files)

Rémy Oudompheng remy at archlinux.org
Thu Oct 20 15:28:02 UTC 2016


    Date: Thursday, October 20, 2016 @ 15:28:02
  Author: remy
Revision: 192739

archrelease: copy trunk to community-any

Added:
  perl-datetime-calendar-julian/repos/community-any/
  perl-datetime-calendar-julian/repos/community-any/PKGBUILD
    (from rev 192738, perl-datetime-calendar-julian/trunk/PKGBUILD)

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

Copied: perl-datetime-calendar-julian/repos/community-any/PKGBUILD (from rev 192738, perl-datetime-calendar-julian/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-10-20 15:28:02 UTC (rev 192739)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname='perl-datetime-calendar-julian'
+_dist=DateTime-Calendar-Julian
+pkgver=0.04
+pkgrel=1
+pkgdesc="Perl module for Dates in the Julian calendar"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-datetime')
+makedepends=()
+url="https://metacpan.org/release/${_dist}"
+source=(http://search.cpan.org/CPAN/authors/id/P/PI/PIJLL/${_dist}-${pkgver}.tar.gz)
+sha512sums=('e822d57dabbf76dcca9dc1eb097cef9c15579aeb1782a51eb3dd01d47eda0aef2aa92096df67602297a24c387445f6eb381bb3eedfe33486990844f3c96b4960')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
+



More information about the arch-commits mailing list