aboutsummaryrefslogtreecommitdiff
path: root/network/pgl/pgl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pgl/pgl.SlackBuild')
-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 4d0480ff47535..60b6525a7a20a 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