summaryrefslogtreecommitdiff
path: root/community-staging/perl-datetime
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 11:13:51 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 11:13:51 -0500
commitb18caf89fb235f174419d578a7da0237e456ef3d (patch)
tree9a9f7e391135f5ce2b05b3956ced1a00bd664bbb /community-staging/perl-datetime
parenta084559f421a288dd77f81e458161f95ae8d1be9 (diff)
parent6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Diffstat (limited to 'community-staging/perl-datetime')
-rw-r--r--community-staging/perl-datetime/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community-staging/perl-datetime/PKGBUILD b/community-staging/perl-datetime/PKGBUILD
new file mode 100644
index 000000000..b5c86bd7f
--- /dev/null
+++ b/community-staging/perl-datetime/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 47498 2011-05-23 16:01:46Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime
+pkgver=0.70
+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')
+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=('228a3ca93b49e308fc7a3b7a47341ab3')
+
+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
+}