summaryrefslogtreecommitdiff
path: root/graphics/resynthesizer
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/resynthesizer')
-rw-r--r--graphics/resynthesizer/resynthesizer.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/resynthesizer/resynthesizer.SlackBuild b/graphics/resynthesizer/resynthesizer.SlackBuild
index 49d9ce76fc..5b34109c4e 100644
--- a/graphics/resynthesizer/resynthesizer.SlackBuild
+++ b/graphics/resynthesizer/resynthesizer.SlackBuild
@@ -64,10 +64,8 @@ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins $PKG/usr/share/gimp/2.0/s
install -m 755 resynth $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins
install -m 644 smart-{enlarge,remove}.scm $PKG/usr/share/gimp/2.0/scripts
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION