summaryrefslogtreecommitdiff
path: root/network/copy/copy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/copy/copy.SlackBuild')
-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