diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2013-04-23 20:48:02 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-04-28 12:29:24 -0300 |
commit | 691fc6520de8b0e3b7d10cf00862b2ac601728cd (patch) | |
tree | 60a8f2b52621413b12665cdb198f68a1369498bc /perl/perl-TimeDate | |
parent | f6d49bbee0abafebc60f089535a20ffcf60ddf68 (diff) |
perl/perl-TimeDate: Updated for version 2.30.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-TimeDate')
-rw-r--r-- | perl/perl-TimeDate/perl-TimeDate.SlackBuild | 18 | ||||
-rw-r--r-- | perl/perl-TimeDate/perl-TimeDate.info | 6 | ||||
-rw-r--r-- | perl/perl-TimeDate/slack-desc | 12 |
3 files changed, 18 insertions, 18 deletions
diff --git a/perl/perl-TimeDate/perl-TimeDate.SlackBuild b/perl/perl-TimeDate/perl-TimeDate.SlackBuild index c16930782dc9..a71cc1838e43 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 f7a3be219eb3..2a5f993cb58f 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 f2383adea081..d54664f1f4ec 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: |