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

François Charette francois at archlinux.org
Thu Aug 19 11:13:56 EDT 2010


    Date: Thursday, August 19, 2010 @ 11:13:56
  Author: francois
Revision: 88125

Update to 1.4000, use arch=any, tidy up a bit

Modified:
  perl-datetime-format-strptime/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-19 15:07:49 UTC (rev 88124)
+++ PKGBUILD	2010-08-19 15:13:56 UTC (rev 88125)
@@ -2,19 +2,19 @@
 # Contributor: Caleb Cushing <xenoterracide at gmail.com>
 # Generator  : CPANPLUS::Dist::Arch 0.18
 pkgname=perl-datetime-format-strptime
-pkgver=1.2000
+_cpanname=DateTime-Format-Strptime
+pkgver=1.4000
 pkgrel=1
 pkgdesc="Parse and Format DateTimes using Strptime"
-arch=('i686' 'x86_64')
+arch=(any)
 license=('PerlArtistic' 'GPL')
 options=('!emptydirs')
-depends=('perl' 'perl-datetime>=0.4304' 'perl-datetime-locale>=0.45' 'perl-datetime-timezone>=0.79' 'perl-params-validate>=0.64')
-url='http://search.cpan.org/dist/DateTime-Format-Strptime'
-source=('http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-1.2000.tar.gz')
-md5sums=('8e0218294f983629cf781990ed61f3ba')
+depends=('perl-datetime>=0.4304' 'perl-datetime-locale>=0.45' 'perl-datetime-timezone>=0.79' 'perl-params-validate>=0.64')
+url="http://search.cpan.org/dist/${_cpanname}"
+source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/${_cpanname}-${pkgver}.tar.gz")
 
 build() {
-  DIST_DIR="${srcdir}/DateTime-Format-Strptime-1.2000"
+  DIST_DIR="${srcdir}/${_cpanname}-${pkgver}"
   export PERL_MM_USE_DEFAULT=1
   { cd "$DIST_DIR" &&
     perl Makefile.PL INSTALLDIRS=vendor &&
@@ -25,3 +25,4 @@
 
   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
 }
+md5sums=('1432a1d92fe4252586053129d5b681fa')



More information about the arch-commits mailing list