aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 20:49:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 20:49:22 +0700
commit9c8cc6d9c60036a4ccdd3dafde8fd2ac0c7467a5 (patch)
tree5b64ad0a014b4703da0f5310e7c16a62220b51e0 /perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild
parentbe2613a636f66c14ce536054206e47a738a1b970 (diff)
Multiple: Remove comments and whitespaces.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild')
-rw-r--r--perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild b/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild
index cb45f55dabdc..1d01f3630171 100644
--- a/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild
+++ b/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild
@@ -32,12 +32,10 @@ TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
-# Automatically determine the architecture we're building on:
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
@@ -61,7 +59,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \
@@ -75,7 +73,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Compress man pages
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