aboutsummaryrefslogtreecommitdiff
path: root/network/pgl
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-21 21:14:09 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-01-23 01:16:52 +0000
commitedf218e61d9a4546a7bd9bc51a69654cb3a46f62 (patch)
treeb28d15772e4ce8e618c7ee2488bec7cd57099016 /network/pgl
parent8ec39778663f4b739a1698437e8beb290180703b (diff)
network/pgl: Don't add /tmp to the package.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/pgl')
-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 4d0480ff4753..60b6525a7a20 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