diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-20 17:08:54 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-20 17:08:54 +0100 |
commit | 8d4984cc648f72aad78833216400a23e9a25d708 (patch) | |
tree | 4b92dc60e22333eb3ce0621248382371f43d88a7 /lib/libalpm/package.h | |
parent | 565c931e2c684d4460ff65cbec9b097ee1d8f94d (diff) | |
download | pacman-8d4984cc648f72aad78833216400a23e9a25d708.tar.xz |
libalpm: Parse and write PKGBASEs
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 <johannes@kyriasis.com>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |