I wonder if yaourt can be set up to always use ABS (build form source) for certain packages (so they are built from sources even when performing full system upgrade: yaourt -Syua).
Something like BuildPkgs list in /etc/yaourtrc would come in handy, but I can’t find anything like that.
Can anyone think of a way to do it?
Cheers.
You can do a workaround: you should install customizepkg from AUR. Yaourt can use customizepkg so if you’ve a file named
fooin/etc/customizepkg.d/packagefoowill built from source. If you don’t want to changefoo‘s PKGBUILD/etc/customizepkg.d/foocan be an empty file.So if you don’t want change the PKGBUILDs you only need
touch /etc/customizepkg.d/package-build-from-sourceto every package which you want to build from source.