[Slackbuilds-users] pdfstudioviewer 2024.0.1 : typo in slackbuild script?
fsLeg
fsleg at t-rg.ws
Fri Mar 6 12:25:12 UTC 2026
makepkg already removes all symlinks and appends their creation into doinst.sh. If you use `makepkg -l y` that is, which is default for vanilla SBo SlackBuilds. Try reading `man makepkg`.
Also read `man ln`. The actual link which is put somewhere is the second argument, the path is the first one, and path doesn't have to exist in case of symlinks. So you can create a symlink that points to a location that doesn't currently exist but you know will exist later. Another option is to use a relative path instead of an absolute one, although the same applies here too.
On March 6, 2026 15:15:17 GMT+03:00, Douglas Guptill <dguptill at accesswave.ca> wrote:
>If the philosophy behind slackbuilds is to install into $PKG, then
>hand $PKG to makepkg (which makes the package), and then hand the
>package to installpkg (which does the actual install), then an
>alternate approach to the current slackbuild might be:
>
> 1) remove line 67
> 2) put a similar line in doinst.sh
> ln -sf /opt/pdfstudioviewer2024/pdfstudioviewer2024 /usr/bin/pdfstudioviewer2024
>
>My understanding is that the current SlackBuild installs a file in
>/opt during the package build phase. Even if the package is never
>installed.
>
>Unless I _really_ don't understand what is going on...
>
>Regards,
>Douglas.
More information about the SlackBuilds-users
mailing list