summaryrefslogtreecommitdiffstats
path: root/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild')
-rw-r--r--perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild
index 87a7702cdd..c0339d821b 100644
--- a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild
+++ b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild
@@ -6,10 +6,10 @@
# 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
@@ -32,12 +32,10 @@ VERSION=1.01
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# 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
@@ -102,7 +100,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
( 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