if you are interested in that, you have to look at the package information (and use an AUR helper, which displays that kind of information).
if i want to know, which packages are already installed, i usually do a “pacui r”, which displays all installed packages.
but there is no way in “install packages” besides looking at the package information (“installation reason” can be helpful - “pacui rt” or “pacui t” can provide great additional information).
the only way to get that kind of information from the AUR is by RPC interface. it only offers package information for packages you search for and not for all packages from the AUR.
this means that it is not possible to display package description for all AUR packages (as it is with packages from the system repositories).
i have thought about dynamically loading such a list of package description whenever you search for something, but this is probably hard to program in bash. a modern programming language could achieve this much more easily.
when i am bored, i might try to implement something like it.
certainly such indicators would be cool. you could do even more indicators:
- installation state
- repository (system repository, aur, package group)
- aur votes
- out of date
- no longer maintained
- package version
however, this would increase the needed terminal width dramatically. there are a lot of (vocal) users, who use pacui within a tiny terminal window inside their tiling WM. these people would definitely be annoyed by those indicators.
therefore, we need to decide, which indicators are important. additionally, we should decide what start delay is worth having such indicators (the first 2 are rather easy to , but the last are almost impossible (see answer above)). traversing a list of 60k+ items and adding stuff to every line certainly takes some time.
in my opinion, indicators are only needed when pacui has package descriptions of aur packages.
because of the missing package description of AUR packages, all lines without a package description are either AUR packages or package groups. this makes them rather easy to identify (when you know this little trick).