Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-12-22 15:11:38 +0100
committerAllan McRae <allan@archlinux.org>2014-12-24 11:19:30 +1000
commit9f527d2de453b542293e24d85ee894fa6452259a (patch)
tree0718d9cfc13cf3b81d02b6b5e8e94df49aae3f8c /lib/libalpm/package.h
parentfda599df3773955aa2f95a842649902e41f4e0bc (diff)
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> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h1
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;