diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2011-05-31 23:54:14 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-13 01:33:40 -0400 |
commit | d1c2c3fa6cbc78e35fde4759187030c08790f94b (patch) | |
tree | cf0069d562bfa446fff7448e9ab97b59357b254d /perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild | |
parent | ea5d20c50efc6cd3e0d54fde2f77367c6fd517af (diff) |
perl/perl-MIME-tools: Updated for version 1.34.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild')
-rw-r--r-- | perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild index 7687c0b5f82ee..f0bc44934bc62 100644 --- a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl modules: Convert::UUlib # Home Page http://search.cpan.org/dist/Convert-UUlib/ -# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# Copyright (c) 2009-2011, 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 @@ -26,18 +26,17 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=Convert-UUlib PRGNAM=perl-Convert-UUlib -VERSION=1.33 +VERSION=${VERSION:-1.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: +SRCNAM=Convert-UUlib + 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 @@ -90,9 +89,7 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Remove perlocal.pod and .packlist from $PKG -( cd $PKG - find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f -) +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f # Remove empty directories find $PKG -depth -type d -empty -exec rm -rf {} \; @@ -100,10 +97,8 @@ find $PKG -depth -type d -empty -exec rm -rf {} \; find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( 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 -) +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 mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |