Please consider modifying the build() function to install also sudoj.
Edit:
Sorry, but I've changed my mind on this topic. Usually, users use sudoj to call pacman to install packages in junest jailed system. (Maybe sometimes use a text editor to change some config files like mirrorlist but that's rare and can be done from host OS.)
But since sudoj was designed to be run with export PATH="$PATH:$JUNEST_HOME/usr/bin_wrappers" and this is an AUR package installed on Arch, the host Arch Linux's pacman will be selected and thus the command sudoj pacman $@ rendered unusable. So sudoj is basically useless when host is Arch.
Conclusion: just use alias sudoj="junest --fakeroot" or junest yay.
Pinned Comments
feel commented on 2017-04-03 22:23 (UTC)
feel commented on 2017-04-03 11:08 (UTC)