@D1sturbed There's two ways to do so:
The official way: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
And the way I do it: https://github.com/Morganamilo/paru
Paru is an AUR helper but it has support for automating chroot
ing for building packages.
To do so with paru, you need to do the following:
-
install
devtools
-
enable "LocalRepo" and "Chroot" (needs to be set to a directory) in
/etc/paru.conf
-
Add the following to the bottom of
pacman.conf
:
[aur] (<= name this whatever you want)
SigLevel = PackageOptional DatabaseOptional
Server = file:///(path to the same directory from before)
Paru should take care of the rest on its own
Pinned Comments
lsf commented on 2025-01-01 21:28 (UTC)
Please refrain from abusing the flagging of a package as out of date for build issues. This is not what it is supposed to be used for.
I automatically get notified of comments to this package. I do not need to be notified of whatever build problems occur (whether they are an individual's problems or the actual package's problems) twice, and not via flagging it out of date.
Issues with this package can also be reported at https://codeberg.org/librewolf/issues/issues (as it is also maintained there, at https://codeberg.org/librewolf/arch, too).