summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-datetime/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:22 (GMT)
commitff0f7cee2dc2b420e257313fef663a3f78bbc800 (patch)
tree7af473b8667e5c685144e8123934878b79896412 /abs/core/perl_modules/perl-datetime/PKGBUILD
parent16a043fed17ea05b6d6ca012ff09b71008562790 (diff)
downloadlinhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.zip
linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.gz
linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.bz2
perl_modules: updated to many to list
Diffstat (limited to 'abs/core/perl_modules/perl-datetime/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-datetime/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/abs/core/perl_modules/perl-datetime/PKGBUILD b/abs/core/perl_modules/perl-datetime/PKGBUILD
index 0b32ce3..839ff1c 100644
--- a/abs/core/perl_modules/perl-datetime/PKGBUILD
+++ b/abs/core/perl_modules/perl-datetime/PKGBUILD
@@ -1,29 +1,37 @@
-# $Id: PKGBUILD 31942 2010-11-08 11:04:10Z spupykin $
+# $Id: PKGBUILD 71765 2012-06-02 10:29:58Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-datetime
-pkgver=0.65
-pkgrel=1
+pkgver=0.72
+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')
+depends=('perl-datetime-timezone>=0.59' 'perl-datetime-locale>=0.41'
+ 'perl-params-validate>=0.76' 'perl-math-round')
LC_NUMERIC=C
provides=("perl-datetime=`printf %.4f $pkgver`")
-options=('!emptydirs' 'force')
+options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
-md5sums=('99fd327152d3a462ba575c8c74d5cb65')
+md5sums=('f50b328919fe8bf2d2b16ca0df35c3f3')
build() {
cd $srcdir/DateTime-$pkgver
-
perl Build.PL installdirs=vendor destdir="$pkgdir/"
./Build
+}
+
+check() {
+ cd $srcdir/DateTime-$pkgver
# ./Build test
- ./Build install
+ true
+}
+package() {
+ cd $srcdir/DateTime-$pkgver
+ ./Build install
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}