diff options
Diffstat (limited to 'libraries/perl-Test-Exception/perl-Test-Exception.SlackBuild')
-rw-r--r-- | libraries/perl-Test-Exception/perl-Test-Exception.SlackBuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/libraries/perl-Test-Exception/perl-Test-Exception.SlackBuild b/libraries/perl-Test-Exception/perl-Test-Exception.SlackBuild index c056824111..d37edb06e9 100644 --- a/libraries/perl-Test-Exception/perl-Test-Exception.SlackBuild +++ b/libraries/perl-Test-Exception/perl-Test-Exception.SlackBuild @@ -3,13 +3,13 @@ # Slackware Package Build Script for perl modules: Test::Exception # Home Page http://search.cpan.org/dist/Test-Exception/ -# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.net) +# Copyright (c) 2008-2010, 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,7 +26,7 @@ SRCNAM=Test-Exception PRGNAM=perl-Test-Exception -VERSION=0.27 +VERSION=0.29 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,20 +48,16 @@ fi DOCS="Changes README" -### clean up from previous builds rm -fr $TMP/$SRCNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT -### Extracting the source tarballs cd $TMP tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION chown -R root.root . - find . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ -exec chmod 644 {} \; - find . \ \( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ -exec chmod 755 {} \; @@ -86,12 +82,10 @@ mv $PKG/usr/share/man $PKG/usr find $PKG -depth -type d -empty -exec rm -rf {} \; # find and compress man pages -if [ -d $PKG/usr/man ]; then - ( cd $PKG/usr/man +( 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 - ) -fi +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |