On 22/12, Johannes Löthberg wrote:
On 22/12, Allan McRae wrote:
On 21/12/14 02:25, Johannes Löthberg wrote:
This commit adds the necessary accessor functions to get the PKGBASE of a package, forcing the desc file to be parsed.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- lib/libalpm/alpm.h | 6 ++++++ lib/libalpm/be_local.c | 7 +++++++ lib/libalpm/package.c | 9 +++++++++ lib/libalpm/package.h | 1 + 4 files changed, 23 insertions(+)
Are we expecting a third patch to actually do something with this? Maybe something like:
$ pacman -Si gcc-libs Repository : core Name : gcc-libs (gcc) Version : 4.9.2-1
Not right now, but that would be useful sometimes too, either in parens or as a separate line in -Sii maybe.
Oh right, forgot to say that I firstly wanted to implement it to be able to show it in expac for scripting. (Not for myself though.) -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/