[arch-commits] Commit in perl-datetime/trunk (PKGBUILD)

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


    Date: Monday, October 10, 2016 @ 11:17:38
  Author: spupykin
Revision: 191857

upgpkg: perl-datetime 1.39-1

upd

Modified:
  perl-datetime/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 11:09:38 UTC (rev 191856)
+++ PKGBUILD	2016-10-10 11:17:38 UTC (rev 191857)
@@ -3,8 +3,8 @@
 # Contributor: François Charette <firmicus ατ gmx δοτ net>
 
 pkgname=perl-datetime
-pkgver=1.25
-pkgrel=2
+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"
@@ -16,23 +16,16 @@
 provides=("perl-datetime=`printf %.4f $pkgver`")
 options=('!emptydirs')
 source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
-md5sums=('3343f67ebefb3f082a0067dfaee3b3c8')
+md5sums=('4594f4e303fe3e7d80132bfc8a0a6009')
 
 build() {
   cd  $srcdir/DateTime-$pkgver
-  perl Build.PL installdirs=vendor destdir="$pkgdir/"
-  ./Build
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
+  make
 }
-
-check() {
-  cd  $srcdir/DateTime-$pkgver
-#  ./Build test
-  true
-}
-
 package() {
   cd  $srcdir/DateTime-$pkgver
-  ./Build install
+  make install DESTDIR=$pkgdir
   find $pkgdir -name '.packlist' -delete
   find $pkgdir -name '*.pod' -delete
 # template start; name=perl-binary-module-dependency; version=1;



More information about the arch-commits mailing list