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
|
@ -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 New Issue