From 691fc6520de8b0e3b7d10cf00862b2ac601728cd Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Tue, 23 Apr 2013 20:48:02 -0400 Subject: perl/perl-TimeDate: Updated for version 2.30. Signed-off-by: dsomero --- perl/perl-TimeDate/perl-TimeDate.SlackBuild | 18 +++++++++--------- perl/perl-TimeDate/perl-TimeDate.info | 6 +++--- perl/perl-TimeDate/slack-desc | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'perl') diff --git a/perl/perl-TimeDate/perl-TimeDate.SlackBuild b/perl/perl-TimeDate/perl-TimeDate.SlackBuild index c16930782d..a71cc1838e 100644 --- a/perl/perl-TimeDate/perl-TimeDate.SlackBuild +++ b/perl/perl-TimeDate/perl-TimeDate.SlackBuild @@ -3,13 +3,14 @@ # Slackware Package Build Script for perl modules: TimeDate # Home Page http://search.cpan.org/dist/TimeDate/ -# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA +# (nishant _AT_ mnspace _DOT_ net) # All rights reserved. -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -26,18 +27,17 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=TimeDate -PRGNAM=perl-TimeDate -VERSION=1.20 +PRGNAM="perl-TimeDate" +VERSION=${VERSION:-2.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: +SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -100,7 +100,7 @@ find $PKG -depth -type d -empty -exec rm -rf {} \; ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-TimeDate/perl-TimeDate.info b/perl/perl-TimeDate/perl-TimeDate.info index f7a3be219e..2a5f993cb5 100644 --- a/perl/perl-TimeDate/perl-TimeDate.info +++ b/perl/perl-TimeDate/perl-TimeDate.info @@ -1,8 +1,8 @@ PRGNAM="perl-TimeDate" -VERSION="1.20" +VERSION="2.30" HOMEPAGE="http://search.cpan.org/dist/TimeDate/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-1.20.tar.gz" -MD5SUM="7da7452bce4c684e4238e6d09b390200" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-2.30.tar.gz" +MD5SUM="b1d91153ac971347aee84292ed886c1c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-TimeDate/slack-desc b/perl/perl-TimeDate/slack-desc index f2383adea0..d54664f1f4 100644 --- a/perl/perl-TimeDate/slack-desc +++ b/perl/perl-TimeDate/slack-desc @@ -1,15 +1,15 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| perl-TimeDate: perl-TimeDate (TimeDate) perl-TimeDate: perl-TimeDate: -perl-TimeDate: perl-TimeDate provides perl modules for Time and +perl-TimeDate: perl-TimeDate provides perl modules for Time and perl-TimeDate: Date manipulation. perl-TimeDate: perl-TimeDate: -- cgit v1.2.3