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/perl-TimeDate.SlackBuild | |
parent | f6d49bbee0abafebc60f089535a20ffcf60ddf68 (diff) | |
download | slackbuilds-691fc6520de8b0e3b7d10cf00862b2ac601728cd.tar.gz |
perl/perl-TimeDate: Updated for version 2.30.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-TimeDate/perl-TimeDate.SlackBuild')
-rw-r--r-- | perl/perl-TimeDate/perl-TimeDate.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
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 |