[Slackbuilds-users] Symlinks and AUTOMATIC removals

Shahab Vahedi list+sbo at vahedi.org
Thu Jan 2 13:47:46 UTC 2025


December 31, "Jeremy Hansen" wrote:

> This seems like *a lot* of unnecessary work for something makepkg is
> literally designed to account for and automate (which minimizes chances of
> mistakes).
> ...
> ... You're still able to manually
> specify your symlinks in the doinst.sh, but I really think it's better to
> just let makepkg handle them. Choice is up to you!

I hear you. I will adapt my packages to "ln" in *.SlackBuild then.

> You'd throw something like @LIBDIR@ into the doinst.sh and then use sed at
> the end of the SlackBuild to make the necessary adjustments:
>
> sed -i "s|@LIBDIR@|lib$LIBDIRSUFFIX|g" doinst.sh

That's neat. I'll keep that in mind if I ever need something like that.
Thank you for sharing and spending the time on this!


--
Shahab


More information about the SlackBuilds-users mailing list