mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/notepadqq: Allow the binary to be found in $PATH.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
873c5a3442
commit
a97c31bc50
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue