[Feature] Customized builds
Created by: cromerc
I know that pamac is primarily used under manjaro, however it is also usable under various other distros that use pacman as well. That being said, I believe that builds should be configurable based on what features are wanted or can actually be used by a given distro. For example:
- Disable AUR completely for distros that don't support it. I believe it would be best to make an option that removes the AUR preferences in the GUI, and another option that removes AUR completely. The benefit of doing it this way would be that newbies wouldn't have such easy access to the AUR but could manually enable it from the preferences file in /etc. Or complete disable available in cases where AUR is not desired.
- Disable categories for distros that don't have available appstream-data.
- I have heard that flatpak and snap packages will be added to pamac store in the future, it would be a good idea to also have an option to disable this on distros that don't yet have snap and flatpak available.
As an example I have started a new distro that has pamac in it, it is not however a fork of arch linux, it was built based on linux from scratch but uses pacman as it's package manager. Due to this, pamac works great, but AUR is incompatible since none of the packages in the distro come from arch linux which means many dependencies can't be resolved or don't work properly. So disabling AUR is crucial for the distro. I do have appstream data implemented for pamac, however there are very few packages currently available in the new distro which means some categories don't work, so being able to disable categories would be needed. Lastly flatpak and snaps are definitely not implemented nor supported since this isn't an arch linux based distro, so the ability to disable that would be great as well once it is implemented.