diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-04-04 14:05:52 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-04-04 14:05:52 +0300 |
commit | 5a9d8323a088e370a5943071e78f9c3032aed261 (patch) | |
tree | 6b7f0984c294eba6268f3149ed5d36bb566706e0 /src/apk_package.h | |
parent | 0cc2086e27a2109e13e8925b882d1014b5bab96b (diff) | |
download | apk-tools-5a9d8323a088e370a5943071e78f9c3032aed261.tar.gz apk-tools-5a9d8323a088e370a5943071e78f9c3032aed261.tar.bz2 apk-tools-5a9d8323a088e370a5943071e78f9c3032aed261.tar.xz apk-tools-5a9d8323a088e370a5943071e78f9c3032aed261.zip |
pkg: add origin, maintainer, build_time and commit id to index
Parse these fields from .PKGINFO, and write them to index.
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index ed25bd4..9802dfa 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -83,10 +83,12 @@ struct apk_package { struct apk_name *name; struct apk_installed_package *ipkg; apk_blob_t *version, *arch, *license; - char *url, *description; + apk_blob_t *origin, *maintainer; + char *url, *description, *commit; char *filename; struct apk_dependency_array *depends, *install_if; size_t installed_size, size; + time_t build_time; unsigned repos; struct apk_checksum csum; }; |