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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 11:53:41 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:53:40
  Author: bluewind
Revision: 366561

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 366560, 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 366560, perl-datetime-calendar-julian/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:53:40 UTC (rev 366561)
@@ -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=4
+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