summaryrefslogtreecommitdiffstats
path: root/perl/perl-DateTime
diff options
context:
space:
mode:
author David Somero2011-12-24 16:02:34 +0100
committer Robby Workman2011-12-27 17:15:06 +0100
commitbd0431ca11cf24d03ea144031e666f9f9192bb06 (patch)
treed2b6a7916aeb8605ee7180364c6ead8a16ffdc2d /perl/perl-DateTime
parent2023f22e1ea3b1dbbdc15b147998fd9d8e1959d6 (diff)
downloadslackbuilds-bd0431ca11cf24d03ea144031e666f9f9192bb06.tar.gz
perl/perl-DateTime: Updated for version 0.70.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'perl/perl-DateTime')
-rw-r--r--perl/perl-DateTime/README5
-rw-r--r--perl/perl-DateTime/perl-DateTime.SlackBuild13
-rw-r--r--perl/perl-DateTime/perl-DateTime.info8
3 files changed, 14 insertions, 12 deletions
diff --git a/perl/perl-DateTime/README b/perl/perl-DateTime/README
index a763e2597f..dd5e2f86ae 100644
--- a/perl/perl-DateTime/README
+++ b/perl/perl-DateTime/README
@@ -1,4 +1,5 @@
A date and time object
-This requires perl-Params-Validate, perl-DateTime-Locale,
-perl-DateTime-TimeZone, perl-Test-Exception, perl-Sub-Uplevel. \ No newline at end of file
+This requires perl-Params-Validate, perl-DateTime-Locale,
+perl-DateTime-TimeZone, perl-Test-Exception, perl-Sub-Uplevel
+perl-Math-Round. \ No newline at end of file
diff --git a/perl/perl-DateTime/perl-DateTime.SlackBuild b/perl/perl-DateTime/perl-DateTime.SlackBuild
index 662e1e380b..c04f489724 100644
--- a/perl/perl-DateTime/perl-DateTime.SlackBuild
+++ b/perl/perl-DateTime/perl-DateTime.SlackBuild
@@ -1,12 +1,11 @@
#!/bin/sh
# Slackware build script for perl-DateTime
-
# Written by David Somero <dsomero@hotmail.com>
# Derived from Slackware's Slackbuilds.
-#
+
# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA
-# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA
+# Copyright 2011 David Somero (dsomero@hotmail.com) Athens, TN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,12 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=DateTime
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.61}
+PRGNAM=perl-DateTime
+VERSION=${VERSION:-0.70}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=DateTime
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -91,6 +91,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/perl/perl-DateTime/perl-DateTime.info b/perl/perl-DateTime/perl-DateTime.info
index a919be0b56..3c47153ff5 100644
--- a/perl/perl-DateTime/perl-DateTime.info
+++ b/perl/perl-DateTime/perl-DateTime.info
@@ -1,10 +1,10 @@
PRGNAM="perl-DateTime"
-VERSION="0.61"
+VERSION="0.70"
HOMEPAGE="http://search.cpan.org/dist/DateTime/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-0.61.tar.gz"
-MD5SUM="0802efbc53eb11a09d1528223cd52e88"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-0.70.tar.gz"
+MD5SUM="228a3ca93b49e308fc7a3b7a47341ab3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
-APPROVED="Erik Hanson"
+APPROVED="Erik Hanson,Niels Horn"