Browse Source
development/notepadqq: Allow the binary to be found in $PATH.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
pull/47/head
Matteo Bernardini
7 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with
4 additions and
0 deletions
-
development/notepadqq/notepadqq.SlackBuild
|
|
@ -79,6 +79,10 @@ CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
make |
|
|
|
make install DESTDIR=$PKG INSTALL_ROOT=$PKG |
|
|
|
|
|
|
|
# Allow the binary to be found somewhere in $PATH |
|
|
|
mkdir -p $PKG/usr/bin |
|
|
|
ln -s /opt/notepadqq/bin/$PRGNAM $PKG/usr/bin/$PRGNAM |
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|