summaryrefslogtreecommitdiff
path: root/network/copy
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 /network/copy
parentbe2613a636f66c14ce536054206e47a738a1b970 (diff)
downloadslackbuilds-9c8cc6d9c60036a4ccdd3dafde8fd2ac0c7467a5.tar.gz
Multiple: Remove comments and whitespaces.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/copy')
-rw-r--r--network/copy/copy.SlackBuild5
1 files changed, 0 insertions, 5 deletions
diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild
index ebca147da0..9246f8f5cb 100644
--- a/network/copy/copy.SlackBuild
+++ b/network/copy/copy.SlackBuild
@@ -28,7 +28,6 @@ VERSION=${VERSION:-3.2.01.0481}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ] || [ -z "$SRCARCH" ]; then
case "$( uname -m )" in
i?86)
@@ -39,7 +38,6 @@ if [ -z "$ARCH" ] || [ -z "$SRCARCH" ]; then
ARCH=arm;
SRCARCH=armv6h;
;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*)
ARCH=$( uname -m );
SRCARCH=$( uname -m );
@@ -81,9 +79,6 @@ mkdir -pv $PKG/opt/$PRGNAM
mkdir -pv $PKG/usr/share/applications/
cp -a $SRCARCH/* $PKG/opt/$PRGNAM
-# Strip binaries and libraries - this can be done with 'make install-strip'
-# in many source trees, and that's usually acceptable if so, but if not,
-# use this:
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true