summaryrefslogtreecommitdiff
path: root/community/perl-datetime
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-datetime
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-datetime')
-rw-r--r--community/perl-datetime/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/perl-datetime/PKGBUILD b/community/perl-datetime/PKGBUILD
new file mode 100644
index 000000000..439c11cb6
--- /dev/null
+++ b/community/perl-datetime/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 35604 2010-12-21 22:55:11Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-datetime
+pkgver=0.66
+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')
+LC_NUMERIC=C
+provides=("perl-datetime=`printf %.4f $pkgver`")
+options=('!emptydirs' 'force')
+source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz)
+md5sums=('9399b5b430da65ac0b9056c0182a805b')
+
+build() {
+ cd $srcdir/DateTime-$pkgver
+
+ perl Build.PL installdirs=vendor destdir="$pkgdir/"
+ ./Build
+# ./Build test
+ ./Build install
+
+ find $pkgdir -name '.packlist' -delete
+ find $pkgdir -name '*.pod' -delete
+}