diff options
author | Mario Antunes <mariolpantunes@gmail.com> | 2014-07-08 06:38:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-08 06:38:43 +0700 |
commit | 0cddba9db967585343f089451bfe632df585df70 (patch) | |
tree | 2edf77b59a684dd74ff86364000a1c6327ba7f23 /development/idea | |
parent | dc9c1389be6803f32462df68d3ac8375cba0d90c (diff) |
development/idea: Prevent some binaries to get stripped.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/idea')
-rw-r--r-- | development/idea/idea.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/development/idea/idea.SlackBuild b/development/idea/idea.SlackBuild index 79fa534fdf9b9..f93b66433c69c 100644 --- a/development/idea/idea.SlackBuild +++ b/development/idea/idea.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=idea ARCNAM=ideaIC VERSION=${VERSION:-13.1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -40,8 +40,9 @@ chmod 755 $PKG/etc/profile.d/* install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop install -D -m 0644 $PKG/opt/$PRGNAM/bin/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +# Prevent fsnotifer and fsnotifier64 from being striped 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 + | grep -v "fsnotifier" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $PKG/opt/$PRGNAM |