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

Felix Yan felixonmars at archlinux.org
Sat Aug 26 18:38:04 UTC 2017


    Date: Saturday, August 26, 2017 @ 18:38:03
  Author: felixonmars
Revision: 254299

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-datetime-calendar-julian/repos/community-staging-any/PKGBUILD (from rev 254298, perl-datetime-calendar-julian/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 18:38:03 UTC (rev 254299)
@@ -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=3
+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