[arch-commits] Commit in perl-datetime/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Oct 10 11:17:48 UTC 2016


    Date: Monday, October 10, 2016 @ 11:17:48
  Author: spupykin
Revision: 191858

archrelease: copy trunk to community-x86_64

Added:
  perl-datetime/repos/community-x86_64/PKGBUILD
    (from rev 191857, perl-datetime/trunk/PKGBUILD)
Deleted:
  perl-datetime/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 11:17:38 UTC (rev 191857)
+++ PKGBUILD	2016-10-10 11:17:48 UTC (rev 191858)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: François Charette <firmicus ατ gmx δοτ net>
-
-pkgname=perl-datetime
-pkgver=1.25
-pkgrel=2
-pkgdesc="A complete, easy to use date and time object"
-arch=('i686' 'x86_64')
-url="http://search.cpan.org/dist/DateTime"
-license=('GPL' 'PerlArtistic')
-depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41'
-	 'perl-params-validate>=0.76' 'perl-math-round')
-makedepends=('perl-module-build')
-LC_NUMERIC=C
-provides=("perl-datetime=`printf %.4f $pkgver`")
-options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
-md5sums=('3343f67ebefb3f082a0067dfaee3b3c8')
-
-build() {
-  cd  $srcdir/DateTime-$pkgver
-  perl Build.PL installdirs=vendor destdir="$pkgdir/"
-  ./Build
-}
-
-check() {
-  cd  $srcdir/DateTime-$pkgver
-#  ./Build test
-  true
-}
-
-package() {
-  cd  $srcdir/DateTime-$pkgver
-  ./Build install
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
-	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
-	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
-	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}

Copied: perl-datetime/repos/community-x86_64/PKGBUILD (from rev 191857, perl-datetime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-10 11:17:48 UTC (rev 191858)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime
+pkgver=1.39
+pkgrel=1
+pkgdesc="A complete, easy to use date and time object"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/DateTime"
+license=('GPL' 'PerlArtistic')
+depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41'
+	 'perl-params-validate>=0.76' 'perl-math-round')
+makedepends=('perl-module-build')
+LC_NUMERIC=C
+provides=("perl-datetime=`printf %.4f $pkgver`")
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
+md5sums=('4594f4e303fe3e7d80132bfc8a0a6009')
+
+build() {
+  cd  $srcdir/DateTime-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
+  make
+}
+package() {
+  cd  $srcdir/DateTime-$pkgver
+  make install DESTDIR=$pkgdir
+  find $pkgdir -name '.packlist' -delete
+  find $pkgdir -name '*.pod' -delete
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}



More information about the arch-commits mailing list