[arch-commits] Commit in (4 files)
Rémy Oudompheng
remy at archlinux.org
Thu Oct 20 15:25:53 UTC 2016
Date: Thursday, October 20, 2016 @ 15:25:52
Author: remy
Revision: 192735
New package perl-datetime-calendar-julian
Added as a dependency of biber 2.6.
Added:
perl-datetime-calendar-julian/
perl-datetime-calendar-julian/repos/
perl-datetime-calendar-julian/trunk/
perl-datetime-calendar-julian/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: perl-datetime-calendar-julian/trunk/PKGBUILD
===================================================================
--- perl-datetime-calendar-julian/trunk/PKGBUILD (rev 0)
+++ perl-datetime-calendar-julian/trunk/PKGBUILD 2016-10-20 15:25:52 UTC (rev 192735)
@@ -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"
+}
+
Property changes on: perl-datetime-calendar-julian/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list