aboutsummaryrefslogtreecommitdiff
path: root/audio/mda-lv2/mda-lv2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mda-lv2/mda-lv2.SlackBuild')
-rw-r--r--audio/mda-lv2/mda-lv2.SlackBuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/audio/mda-lv2/mda-lv2.SlackBuild b/audio/mda-lv2/mda-lv2.SlackBuild
index 86ec65463ef34..85f5e49092cc2 100644
--- a/audio/mda-lv2/mda-lv2.SlackBuild
+++ b/audio/mda-lv2/mda-lv2.SlackBuild
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,8 +72,7 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \
--lv2dir=/usr/lib$LIBDIRSUFFIX/lv2 \
--destdir=$PKG
-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
+strip $PKG/usr/lib*/lv2/mda.lv2/*.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README* NEWS $PKG/usr/doc/$PRGNAM-$VERSION