summaryrefslogtreecommitdiffstats
path: root/source/ap/cdparanoia/cdparanoia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/cdparanoia/cdparanoia.SlackBuild')
-rwxr-xr-xsource/ap/cdparanoia/cdparanoia.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/ap/cdparanoia/cdparanoia.SlackBuild b/source/ap/cdparanoia/cdparanoia.SlackBuild
index 0d2ba1a76..d0d13e1de 100755
--- a/source/ap/cdparanoia/cdparanoia.SlackBuild
+++ b/source/ap/cdparanoia/cdparanoia.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2014 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -120,6 +120,12 @@ if [ -d $PKG/usr/man ]; then
)
fi
+# Strip binaries:
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
mkdir -p $PKG/usr/doc/cdparanoia-$VERSION
cp -a \
FAQ.txt GPL* COPYING* README* \