From 9f527d2de453b542293e24d85ee894fa6452259a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 22 Dec 2014 15:11:38 +0100 Subject: libalpm: Parse and write PKGBASEs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds support to libalpm to parse the pkgbase present in packages .PKGINFO files, writing the PKGBASE to the %BASE% section of the local DBs desc files and for parsing it again when loading the local DB Signed-off-by: Johannes Löthberg Signed-off-by: Allan McRae --- lib/libalpm/package.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/package.h') diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 357c20ef..98c1e6d6 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -85,6 +85,7 @@ extern struct pkg_operations default_pkg_ops; struct __alpm_pkg_t { unsigned long name_hash; char *filename; + char *base; char *name; char *version; char *desc; -- cgit v1.2.3-24-g4f1b