diff options
author | David Somero <dsomero@hotmail.com> | 2011-12-24 13:02:34 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-27 10:15:06 -0600 |
commit | bd0431ca11cf24d03ea144031e666f9f9192bb06 (patch) | |
tree | d2b6a7916aeb8605ee7180364c6ead8a16ffdc2d /perl/perl-DateTime/perl-DateTime.SlackBuild | |
parent | 2023f22e1ea3b1dbbdc15b147998fd9d8e1959d6 (diff) | |
download | slackbuilds-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/perl-DateTime.SlackBuild')
-rw-r--r-- | perl/perl-DateTime/perl-DateTime.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
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 |