You are not logged in.
Hi!
I use to recompile some packages and I think the Makepkg/Pacbuilder/Yaourt way is a bit tedious. I have thought that this process could be automated in pacman. For example, when you want to install a package, have the ability to mark it as "compiled" so that every time the package gets updated, it recompiles automatically. That way you wouldn't need to recompile it manually again with Pacbuilder or ABS+makepkg.
The resumed idea is to have a "compiled" flag or something for each package in the Pacman database so that you could select which packages to build, and when they are updated, Pacman automatically downloads the PKGBUILD and rebuilds them. ccache would be very useful in this case.
What do you think? (I think it breaks the idea of everything-is-simple-in-Arch, but find it very useful).
Offline
File a feature request in the bug tracker.
![]()
Offline
I can predict that is not going to happen... Dan will say "pacman is a package manager, not a package builder". There is srcpac (version in [extra] may not work but try the git version), which is a wrapper around pacman that allows you to do this.
Offline
I have tried srcpac and is not exactly what I say. Yaourt has the same functionality (-b param), the problem is that both don't remember which packages I have "set as compiled" and when I make an update (or just reinstall), both try to get the binary package from repos. I can change this behaviour with -Sbu but it recompiles all package to update. I just want to update and compile only the packages I have previously compiled, not all updated packages.
Offline
srcpac should remember what packages you built using it... that was one of the main points of it.
Offline