summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/pgl/pgl.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/pgl/pgl.SlackBuild b/network/pgl/pgl.SlackBuild
index 4d0480ff47..60b6525a7a 100644
--- a/network/pgl/pgl.SlackBuild
+++ b/network/pgl/pgl.SlackBuild
@@ -68,6 +68,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rmdir $PKG/tmp
+
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