mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/idea: Prevent some binaries to get stripped.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dc9c1389be
commit
0cddba9db9
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue