LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Krusader slackbuild 14.2 - no source available (https://www.linuxquestions.org/questions/slackware-14/krusader-slackbuild-14-2-no-source-available-4175605867/)

Didier Spaier 05-22-2017 08:15 AM

Quote:

Originally Posted by montagdude (Post 5713736)
FWIW (probably not much) I tried this, but it doesn't work because the SlackBuild scripts chown the build directory as root:root.

fakeroot is your friend.

I always use it, for SBo scripts I set TMP and OUTPUT to $CWD i.e. $(pwd), make sure makepkg is called with its full path, set PKGTYPE to txz.

Then just do "fakeroot sh <package>.SlackBuild" and find all outputs in $(pwd).

montagdude 05-22-2017 08:25 AM

Quote:

Originally Posted by Didier Spaier (Post 5713742)
fakeroot is your friend.

I always use it, for SBo scripts I set TMP and OUTPUT to $CWD i.e. $(pwd), make sure makepkg is called with its full path, set PKGTYPE to txz.

Then just do "fakeroot sh <package>.SlackBuild" and find all outputs in $(pwd).

Thanks for the info. I'm not really interested in doing it myself, but I just wanted to answer my previous query about whether sbopkg and the like can build packages as a regular user. It sounds like the answer is no.

atelszewski 05-22-2017 09:13 AM

Hi,

slackrepo is able to build as regular user.
Probably there are others that can do that too (sbopkg is not one of them).

All that being said, my preferred setup is to use slackrepo running as root within virtual machine.

--
Best regards,
Andrzej Telszewski


All times are GMT -5. The time now is 03:06 PM.