From 483f7de4ab6a706517279a24d2efc969f4a1996d Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 May 2012 17:43:57 +0000 Subject: Mon May 28 17:43:57 UTC 2012 --- community-testing/perl-datetime/PKGBUILD | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 community-testing/perl-datetime/PKGBUILD (limited to 'community-testing/perl-datetime') diff --git a/community-testing/perl-datetime/PKGBUILD b/community-testing/perl-datetime/PKGBUILD new file mode 100644 index 000000000..a75b666d1 --- /dev/null +++ b/community-testing/perl-datetime/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 71386 2012-05-27 07:39:51Z bluewind $ +# Maintainer: Sergej Pupykin +# Contributor: François Charette + +pkgname=perl-datetime +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' '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=('f50b328919fe8bf2d2b16ca0df35c3f3') + +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 +} -- cgit v1.2.3-54-g00ecf